This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MI and pending breakpoints
> > It's also arguable that for -break-insert you ALWAYS want "pending"
> > to be "on".
> That's how annotate=2 works. However, I think GDB should query the user
> the same way it does from the CLI.
and
> Here is the situation I'm talking about. When the user types 'b
> file:line' in the console that the FE provides them, and they do not get
> a query back from GDB when using annotate=2. It simply always set's the
> breakpoint. I don't know if MI currently works the same.
AFAICT -annotate=2 doesn't change the behaviour of setting breakpoints.
After all, its just CLI with markup, not a separate interpreter like MI.
--
Nick http://www.inet.net.nz/~nickrob