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]

MI query questions


 > 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


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