diff options
author | Phil Muldoon <pmuldoon@redhat.com> | 2013-11-07 12:32:31 +0000 |
---|---|---|
committer | Phil Muldoon <pmuldoon@redhat.com> | 2013-11-07 12:32:31 +0000 |
commit | 92e32e33f16b40988327df8e8beacf3a8a356916 (patch) | |
tree | d2bf276c96c29ea698823470ef545a7ef2747341 /gdb/doc | |
parent | f76c27b5bdd446964d9920464b2f761ae7a4f62a (diff) | |
download | fsf-binutils-gdb-92e32e33f16b40988327df8e8beacf3a8a356916.zip fsf-binutils-gdb-92e32e33f16b40988327df8e8beacf3a8a356916.tar.gz fsf-binutils-gdb-92e32e33f16b40988327df8e8beacf3a8a356916.tar.bz2 |
2013-11-07 Phil Muldoon <pmuldoon@redhat.com>
PR python/15747
* python/py-cmd.c: Add COMPLETE_EXPRESSION constant.
2013-11-07 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-cmd.exp: Add COMPLETE_EXPRESSION tests.
* gdb.python/py-cmd.c: New File.
2013-11-07 Phil Muldoon <pmuldoon@redhat.com>
* gdb.texinfo (Commands In Python): Document COMPLETE_EXPRESSION
constant.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 1a29b4f..3894647 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,10 @@ 2013-11-07 Phil Muldoon <pmuldoon@redhat.com> + * gdb.texinfo (Commands In Python): Document COMPLETE_EXPRESSION + constant. + +2013-11-07 Phil Muldoon <pmuldoon@redhat.com> + * gdb.texinfo (Breakpoints In Python): Document temporary option in breakpoint constructor, and add documentation to the temporary attribute. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index c735b90..6a1ed8d 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -26011,6 +26011,13 @@ command names. @item gdb.COMPLETE_SYMBOL This constant means that completion should be done using symbol names as the source. + +@findex COMPLETE_EXPRESSION +@findex gdb.COMPLETE_EXPRESSION +@item gdb.COMPLETE_EXPRESSION +This constant means that completion should be done on expressions. +Often this means completing on symbol names, but some language +parsers also have support for completing on field names. @end table The following code snippet shows how a trivial CLI command can be |