mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 533771 - Allow limit scope of MIStackListArguments
Change-Id: Ibe63ea352fa4daae0d91989595d79b39c3ef92f0 Signed-off-by: Samuel Hultgren <samuel.hultgren@st.com>
This commit is contained in:
parent
4dd0d4ec05
commit
ec9361bd45
2 changed files with 13 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
* Marc Khouzam (Ericsson) - Support for dynamic printf (Bug 400638)
|
||||
* Marc Khouzam (Ericsson) - Support for -gdb-version (Bug 455408)
|
||||
* Intel Corporation - Added Reverse Debugging BTrace support
|
||||
* Samuel Hultgren (STMicroelectronics) - Bug 533771
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.dsf.mi.service.command;
|
||||
|
@ -977,6 +978,11 @@ public class CommandFactory {
|
|||
return new MIStackListArguments(frameDmc, showValues);
|
||||
}
|
||||
|
||||
/** @since 5.5 */
|
||||
public ICommand<MIStackListArgumentsInfo> createMIStackListArguments(IFrameDMContext frameDmc, boolean showValues, int low, int high) {
|
||||
return new MIStackListArguments(frameDmc, showValues, low, high);
|
||||
}
|
||||
|
||||
public ICommand<MIStackListArgumentsInfo> createMIStackListArguments(IMIExecutionDMContext execDmc, boolean showValues, int low, int high) {
|
||||
return new MIStackListArguments(execDmc, showValues, low, high);
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* QNX Software Systems - Initial API and implementation
|
||||
* Wind River Systems - Modified for new DSF Reference Implementation
|
||||
* Ericsson - Modified for handling of execution contexts
|
||||
* STMicroelectronics - Added constructor to limit scope (Bug 533771)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.dsf.mi.service.command.commands;
|
||||
|
@ -41,6 +42,12 @@ public class MIStackListArguments extends MICommand<MIStackListArgumentsInfo>
|
|||
public MIStackListArguments(IFrameDMContext frameDmc, boolean showValues) {
|
||||
super(frameDmc, "-stack-list-arguments", new String[] { showValues ? "1" : "0" }); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||
}
|
||||
|
||||
/** @since 5.5 */
|
||||
public MIStackListArguments(IFrameDMContext frameDmc, boolean showValues, int low, int high) {
|
||||
super(frameDmc, "-stack-list-arguments", //$NON-NLS-1$
|
||||
new String[] { showValues ? "1" : "0", Integer.toString(low), Integer.toString(high)}); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
}
|
||||
|
||||
public MIStackListArguments(IMIExecutionDMContext execDmc, boolean showValues, int low, int high) {
|
||||
super(execDmc, "-stack-list-arguments", //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue