aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorPhil Muldoon <pmuldoon@redhat.com>2013-11-07 12:32:31 +0000
committerPhil Muldoon <pmuldoon@redhat.com>2013-11-07 12:32:31 +0000
commit92e32e33f16b40988327df8e8beacf3a8a356916 (patch)
treed2bf276c96c29ea698823470ef545a7ef2747341 /gdb/python
parentf76c27b5bdd446964d9920464b2f761ae7a4f62a (diff)
downloadgdb-92e32e33f16b40988327df8e8beacf3a8a356916.zip
gdb-92e32e33f16b40988327df8e8beacf3a8a356916.tar.gz
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/python')
-rw-r--r--gdb/python/py-cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/py-cmd.c b/gdb/python/py-cmd.c
index 8b6252e..56321fa 100644
--- a/gdb/python/py-cmd.c
+++ b/gdb/python/py-cmd.c
@@ -45,6 +45,7 @@ static struct cmdpy_completer completers[] =
{ "COMPLETE_LOCATION", location_completer },
{ "COMPLETE_COMMAND", command_completer },
{ "COMPLETE_SYMBOL", make_symbol_completion_list_fn },
+ { "COMPLETE_EXPRESSION", expression_completer },
};
#define N_COMPLETERS (sizeof (completers) / sizeof (completers[0]))