Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] preventing MI commands from appearing in the gdb console

Hi,

I have extended the launch configuration to send some additional commands to GDB. My code looks like this:

CLICommand cli = new CLICommand(commands[j]);
cli.setQuiet(true) ;
miSession.postCommand(cli, manyYears);
MIInfo info = cli.getMIInfo();
if (info == null) {
	throw new MIException("Timeout"); //$NON-NLS-1$
} else {
	parseOutput(miSession, info, commands[j], errors) ;
}
					}
These commands appear in the GDB console window, as does their response. Is there any way to suppress this - I'd like to hide this added complication from the user.

It must be possible, as you don't see the stream of MI commands flowing between Eclipse and GDB when stepping etc.

I was hoping that cli.setQuiet() would do this for me, but it doesn't.

TIA

--
Derek


Back to the top