multiple-location breakpoint output (was: "Re: GDB 7.4 branching status? (2011-11-23)")

Joel Brobecker
2011-11-29T03:11:33Z

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

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

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

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

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

--
Joel