[RFA/RFC] Report the original location specification for a breakpoint.

Daniel Jacobowitz drow@false.org
Thu Apr 17 17:51:00 GMT 2008


On Thu, Apr 17, 2008 at 01:59:08PM +0400, Vladimir Prus wrote:
> > Beyond those, I don't see a problem with it.  Though wouldn't we like
> > to display this in the CLI sometimes too?
> 
> I have no idea. I'd much rather have somebody else decide what CLI should
> contain.

Well, it would be nice to show if we could fit it, but I don't see
where.

By the way, here's where that duplicate addr= came from in GDB 6.8:

            if (header_of_multiple)
              ui_out_field_string (uiout, "addr", "<MULTIPLE>");
            if (b->loc == NULL || loc->shlib_disabled)
              ui_out_field_string (uiout, "addr", "<PENDING>");
            else
              ui_out_field_core_addr (uiout, "addr", loc->address);

Should that be else if?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list