From 92e32e33f16b40988327df8e8beacf3a8a356916 Mon Sep 17 00:00:00 2001 From: Phil Muldoon Date: Thu, 7 Nov 2013 12:32:31 +0000 Subject: 2013-11-07 Phil Muldoon PR python/15747 * python/py-cmd.c: Add COMPLETE_EXPRESSION constant. 2013-11-07 Phil Muldoon * gdb.python/py-cmd.exp: Add COMPLETE_EXPRESSION tests. * gdb.python/py-cmd.c: New File. 2013-11-07 Phil Muldoon * gdb.texinfo (Commands In Python): Document COMPLETE_EXPRESSION constant. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 7 +++++++ 2 files changed, 12 insertions(+) (limited to 'gdb/doc') 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 + * gdb.texinfo (Commands In Python): Document COMPLETE_EXPRESSION + constant. + +2013-11-07 Phil Muldoon + * 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 -- cgit v1.1