This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB/MI: Breakpoint command lists


 > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]