GDB/MI: Breakpoint command lists
Nick Roberts
nickrob@snap.net.nz
Sat Jun 9 11:59:00 GMT 2007
> I have a question related to the GDB/MI interface. I've attached a command list to a breakpoint, for example in this way
>
> .gdbinit
> ---->
> break main.cpp:10
> commands
> echo I am here\n
> end
> <----
>
> Now, I start the GDB in the MI mode and it seems that GDB does not execute such command lists. Is there any possibility to convince GDB/MI in doing so?
No, I don't think so. Apple Gdb has an MI command -break-commands that
does this (so maybe "commands" also works). You could try copying those
changes over to FSF Gdb.
--
Nick http://www.inet.net.nz/~nickrob
More information about the Gdb
mailing list