mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
Bug 440587 - Extra output in gdb console when using '-interpreter-exec
console' Change-Id: I52c15661fc481d8cde9e04707c3cd0b58dd4fd31 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/30625 Tested-by: Hudson CI Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com> Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
This commit is contained in:
parent
6534051b1b
commit
3a98d32217
1 changed files with 2 additions and 2 deletions
|
@ -264,7 +264,7 @@ public abstract class AbstractCLIProcess extends Process
|
||||||
|
|
||||||
ICommand<?> command = token.getCommand();
|
ICommand<?> command = token.getCommand();
|
||||||
// Check if the command is a CLI command and if it did not originate from this class.
|
// Check if the command is a CLI command and if it did not originate from this class.
|
||||||
if (command instanceof CLICommand<?> &&
|
if ((command instanceof CLICommand<?> || command instanceof MIInterpreterExecConsole<?>) &&
|
||||||
!(command instanceof ProcessCLICommand || command instanceof ProcessMIInterpreterExecConsole))
|
!(command instanceof ProcessCLICommand || command instanceof ProcessMIInterpreterExecConsole))
|
||||||
{
|
{
|
||||||
fSuppressConsoleOutputCounter++;
|
fSuppressConsoleOutputCounter++;
|
||||||
|
@ -354,7 +354,7 @@ public abstract class AbstractCLIProcess extends Process
|
||||||
fPrompt = PromptType.IN_PRIMARY_PROMPT;
|
fPrompt = PromptType.IN_PRIMARY_PROMPT;
|
||||||
|
|
||||||
ICommand<?> command = token.getCommand();
|
ICommand<?> command = token.getCommand();
|
||||||
if (command instanceof CLICommand<?> &&
|
if ((command instanceof CLICommand<?> || command instanceof MIInterpreterExecConsole<?>) &&
|
||||||
!(command instanceof ProcessCLICommand || command instanceof ProcessMIInterpreterExecConsole))
|
!(command instanceof ProcessCLICommand || command instanceof ProcessMIInterpreterExecConsole))
|
||||||
{
|
{
|
||||||
fSuppressConsoleOutputCounter--;
|
fSuppressConsoleOutputCounter--;
|
||||||
|
|
Loading…
Add table
Reference in a new issue