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.


> 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?

ARGH#&! That's my fault. I think so, I think I meant "else if".
I don't see why we couldn't have header_of_multiple and
loc->shlib_disabled set at the same time.

Let me know if you'd like me to fix this.

-- 
Joel


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