This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/RFC] Report the original location specification for a breakpoint.
On Thursday 17 April 2008 14:17:12 Nick Roberts wrote:
> > > Isn't this going to affect more than MI? I thought the text from
> > > ui_out_field_string was displayed for console too, just without the
> > > label.
> >
> > I don't this so, but I'll check. We can always make this field output
> > just for MI.
>
> It's used by "info breakpoints".
What's "it" above?
Anyway, it appears that the field indeed gets output in CLI mode, so I'll
adjust my patch not to do that.
>
> > > This definitely needs documentation to go in. I can't say this
> > > enough. Undocumented fields in the MI output might as well not exist.
>
> There are already many other fields that aren't documented, e.g.,
> pending, what, cond, ignore etc. In fact the MI output of -break-insert
> is very variable.
Are you volunteering to document that?
- Volodya