[RFC] canonical linespec and multiple breakpoints ...

Matt Rice ratmice@gmail.com
Fri May 27 10:50:00 GMT 2011


On Thu, May 26, 2011 at 2:05 PM, Tom Tromey <tromey@redhat.com> wrote:

> Right now only a `file:line' breakpoint can have multiple locations.

possibly semantics, but I also noticed that this works with
`file:label', in the case of assembly with debuginfo
when running add-symbol-file, and debugging across kernel relocation
process using qemu.

e.g.
3       breakpoint     keep y   0x80200044 ../../kernel/lostart.S:156
(gdb) c
....
3.1                         y     0x80200044 ../../kernel/lostart.S:156
3.2                         y     0x80000044 ../../kernel/lostart.S:156
....
(gdb) c

3.1                         y     0x80200044 ../../kernel/lostart.S:156
3.2                         y     0x80000044 ../../kernel/lostart.S:156
3.3                         y     0xfe000044 ../../kernel/lostart.S:156



More information about the Gdb-patches mailing list