diff options
author | Pedro Alves <palves@redhat.com> | 2017-11-24 15:21:16 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-11-24 15:21:16 +0000 |
commit | d044bac8ce5e6737d13e7e5180f5a5641053e690 (patch) | |
tree | 157d173d853b3d330c8d41d9a7e076472dbd24bc /gdb/NEWS | |
parent | e8d58cbaacb9ca54ad32eee1a38301202e09f878 (diff) | |
download | gdb-d044bac8ce5e6737d13e7e5180f5a5641053e690.zip gdb-d044bac8ce5e6737d13e7e5180f5a5641053e690.tar.gz gdb-d044bac8ce5e6737d13e7e5180f5a5641053e690.tar.bz2 |
Document linespec/explicit locations & completion improvements (manual + NEWS)
gdb/ChangeLog:
2017-11-24 Pedro Alves <palves@redhat.com>
* NEWS: Mention linespecs and explicit locations, and completion
improvements.
gdb/doc/ChangeLog:
2017-11-24 Pedro Alves <palves@redhat.com>
* gdb.texinfo (Completion): Update need-quoting examples. Remove
false claim that GDB inserts quoting automatically.
(Symbols): Add anchor.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -23,6 +23,35 @@ the remote inferior is started by the GDBserver, use the "unset environment" command. +* Completion improvements + + ** GDB can now complete function parameters in linespecs and + explicit locations without quoting. When setting breakpoints, + quoting around functions names to help with TAB-completion is + generally no longer necessary. For example, this now completes + correctly: + + (gdb) b function(in[TAB] + (gdb) b function(int) + + Related, GDB is no longer confused with completing functions in + C++ anonymous namespaces: + + (gdb) b (anon[TAB] + (gdb) b (anonymous namespace)::[TAB][TAB] + (anonymous namespace)::a_function() + (anonymous namespace)::b_function() + + ** GDB now has much improved linespec and explicit locations TAB + completion support, that better understands what you're + completing and offers better suggestions. For example, GDB no + longer offers data symbols as possible completions when you're + setting a breakpoint. + + ** GDB now TAB-completes label symbol names. + + ** The "complete" command now mimics TAB completion accurately. + * Python Scripting ** New events gdb.new_inferior, gdb.inferior_deleted, and |