MI query questions

Nick Roberts nickrob@snap.net.nz
Tue May 30 17:00:00 GMT 2006


 > This is from MI interp:
 >     (gdb)
 >     -break-insert A::func
 >     ~"[0] cancel\n[1] all\n"
 >     ~"[2] A::func(float) at overloaded.cpp:8\n"
 >     ~"[3] A::func(int) at overloaded.cpp:7\n"
 >     >

This isn't really a query in the GDB sense of the word i.e it's not a yes/no
question and it doesn't call the function query.  We've discussed queries in
MI on this mailing list before and the current behaviour is to take a default
value e.g "no" for pending breakpoints.

I suggest, for the moment, at least, that we make MI select "[1] all"
automatically in this case.


-- 
Nick                                           http://www.inet.net.nz/~nickrob



More information about the Gdb mailing list