From 8052056f7809357209a48c1b32b9a9ccf3bebeb7 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Tue, 16 Feb 2010 13:59:20 +0000 Subject: [302636] -thread-select and -stack-select-frame should not use --thread and --frame options. --- .../cdt/dsf/mi/service/command/commands/MIStackSelectFrame.java | 7 ++++++- .../cdt/dsf/mi/service/command/commands/MIThreadSelect.java | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIStackSelectFrame.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIStackSelectFrame.java index fd641750490..6df31568792 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIStackSelectFrame.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIStackSelectFrame.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2006 QNX Software Systems and others. + * Copyright (c) 2000, 2010 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -28,4 +28,9 @@ public class MIStackSelectFrame extends MICommand { public MIStackSelectFrame(IDMContext ctx, int frameNum) { super(ctx, "-stack-select-frame", new String[]{Integer.toString(frameNum)}, new String[0]); //$NON-NLS-1$ } + + @Override + public boolean supportsThreadAndFrameOptions() { + return false; + } } diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIThreadSelect.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIThreadSelect.java index 5c4c98f7735..d0639a7eab3 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIThreadSelect.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/command/commands/MIThreadSelect.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008 QNX Software Systems and others. + * Copyright (c) 2008, 2010 QNX Software Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -38,4 +38,8 @@ public class MIThreadSelect extends MICommand super(ctx, "-thread-select", new String[]{threadNum}); //$NON-NLS-1$ } + @Override + public boolean supportsThreadAndFrameOptions() { + return false; + } } -- cgit v1.2.3