diff options
author | Joel Brobecker <brobecker@gnat.com> | 2011-12-21 07:24:40 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2011-12-21 07:24:40 +0000 |
commit | 53907c915d3736e1859c3c0af66d713baf6fe6bd (patch) | |
tree | 9e9ec47c10689ae92733fd2828e51a71f463d3bd /gdb/mem-break.c | |
parent | 50f8ea949d73101ef1dc3d68dfbb7e5e35d4e82a (diff) | |
download | gdb-53907c915d3736e1859c3c0af66d713baf6fe6bd.zip gdb-53907c915d3736e1859c3c0af66d713baf6fe6bd.tar.gz gdb-53907c915d3736e1859c3c0af66d713baf6fe6bd.tar.bz2 |
Add handling for unqualified Ada operators in linespecs
This patch enhances the linespec parser to recognize unqualified
operator names in linespecs. This allows the user to insert a breakpoint
on operator "+" as follow, for instance:
(gdb) break "+"
Previously, it was possible to insert such a breakpoint, but one
had to fully qualify the function name. For instance:
(gdb) break ops."+"
gdb/ChangeLog:
* linespec.c (locate_first_half): Add handling of Ada operators
when the current language is Ada.
Diffstat (limited to 'gdb/mem-break.c')
0 files changed, 0 insertions, 0 deletions