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]

[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


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