This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
MI query questions
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: Bob Rossi <bob_rossi at cox dot net>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 30 May 2006 15:22:11 +1200
- Subject: MI query questions
- References: <20060529122337.GB2021@brasko.net>
> 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