This is the mail archive of the
mailing list for the GDB project.
Re: multiple-location breakpoint output
>>>>> "Joel" == Joel Brobecker <firstname.lastname@example.org> 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.