Separating "shell dir" output from GDB/MI output

jingzhao.ou jingzhao.ou@gmail.com
Sun Oct 9 18:47:00 GMT 2005


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.

Best regards,
Jingzhao

On 10/9/05, Daniel Jacobowitz <drow@false.org> wrote:
> For now, for a console, you can use -interpreter-exec and get things
> more or less right.  You can find a lot more about this in the list
> archives, e.g. Apple's console-quoted hack.



More information about the Gdb mailing list