This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[0/3] RFC: add `function:label' linespecs
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 18 Mar 2011 12:28:12 -0600
- Subject: [0/3] RFC: add `function:label' linespecs
I'd appreciate comments on this patch series.
In the absence of comments I plan to commit it.
I think this is reasonably important for 7.3, as it involves bugs in a
new feature.
Jan pointed out that while "label" linespecs work ok for things like
"advance", they do not work very well for "break", because it is often
impossible to reset them.
This series fixes this problem by introducing a new "function:label"
linespec, and using that as the canonical form for all labels.
This is also PR 118186.
This may still not be perfect, since you may have multiple functions
with the same name. But, this is still an improvement, and it allows
the full fix to be written later.
Tom