gdb
authorTom Tromey <tromey@redhat.com>
Thu, 24 Mar 2011 20:25:17 +0000 (20:25 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 24 Mar 2011 20:25:17 +0000 (20:25 +0000)
commit9ef07c8ca4143ec17557e855fe05bb0cd55283b4
tree33c0fd2374d51b00ec5662ddbef427f613c4ef8f
parent56435ebec80eae3bd6511f386f9a86f8703b3de8
gdb
PR breakpoints/11816:
* linespec.c (decode_line_1): Parse `function:label' linespecs.
(decode_compound): Update.
(find_function_symbol): New function.
(decode_dollar): Update.
(decode_label): Add 'function_symbol' parameter.  Handle
function-relative labels.
(decode_variable): Update.
(symbol_found): Add 'function_symbol' parameter.  Use label's PC,
not its line.  Set `special_display' and canonical name for
labels.
gdb/doc
* gdb.texinfo (Specify Location): Document `function:label'
linespec.
gdb/testsuite
* gdb.base/label.exp: Use `main:there' linespec.  Add re-running
test.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/linespec.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/label.exp
This page took 0.039443 seconds and 4 git commands to generate.