1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +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:
Marc Khouzam 2014-07-28 14:08:29 -04:00
parent 6534051b1b
commit 3a98d32217

View file

@ -264,7 +264,7 @@ public abstract class AbstractCLIProcess extends Process
ICommand<?> command = token.getCommand();
// 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))
{
fSuppressConsoleOutputCounter++;
@ -354,7 +354,7 @@ public abstract class AbstractCLIProcess extends Process
fPrompt = PromptType.IN_PRIMARY_PROMPT;
ICommand<?> command = token.getCommand();
if (command instanceof CLICommand<?> &&
if ((command instanceof CLICommand<?> || command instanceof MIInterpreterExecConsole<?>) &&
!(command instanceof ProcessCLICommand || command instanceof ProcessMIInterpreterExecConsole))
{
fSuppressConsoleOutputCounter--;