This is the mail archive of the gdb-patches@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]

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


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


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