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:
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();
|
||||
// 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--;
|
||||
|
|
Loading…
Add table
Reference in a new issue