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]

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


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


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