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: multiple-location breakpoint output


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> Just for the record, I noticed that the output of the "break" command
Joel> has been slightly adjusted when inserting a multi-location breakpoint.
Joel> Now, instead of printing "file [...], line [...]", it just prints
Joel> the linespec itself. Eg:

Joel>     (gdb) b pck.adb:6
Joel>     Breakpoint 1 at 0x40213b: pck.adb:6. (3 locations)

Joel> Another example, when inserting a breakpoint on a function which
Joel> has homonyms:

Joel>     (gdb) b get_value
Joel>     Breakpoint 1 at 0x402160: get_value. (2 locations)

Joel> This is probably intentional, and I think that it's an improvement,
Joel> particularly in the second situation, where each breakpoint corresponds
Joel> to different line locations.

Yeah, that is exactly why I did it.

Tom


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