This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Separating "shell dir" output from GDB/MI output
On Sun, Oct 09, 2005 at 11:47:20AM -0700, jingzhao.ou wrote:
> interpreter-exec can give me what I am looking for. However, its
> output is mixed with the MI output and will confuse Bob's parser. :-(
>
> interpreter-exec console "b main"
> &"interpreter-exec console \"b main\"\n"
> Breakpoint 1 at 0x4012e7: file gdbmi_driver.c, line 14.
> ^done
> (gdb)
>
> It seems that support of multiple file descriptors is a potential
> solution for such problems.
IIRC this is exactly what console-quoted was for.
Ideally, IMO, we should have the CLI as a true frontend rather than
interwoven with gdb. I don't know if that's practical.
--
Daniel Jacobowitz
CodeSourcery, LLC