This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] canonical linespec and multiple breakpoints ...
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