aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-13 15:50:22 +0000
committerTom Tromey <tromey@redhat.com>2012-06-13 15:50:22 +0000
commitd55637df6923689396e58c3d789e82314f4826ec (patch)
tree09d54ca9515512c682efdaad9febaa1983c0d8ae /gdb/value.h
parent49c4e619f81a66545e2332dc218d9bf31bbb51ad (diff)
downloadgdb-d55637df6923689396e58c3d789e82314f4826ec.zip
gdb-d55637df6923689396e58c3d789e82314f4826ec.tar.gz
gdb-d55637df6923689396e58c3d789e82314f4826ec.tar.bz2
* breakpoint.c (condition_completer): New function.
(_initialize_breakpoint): Use it. * value.c (complete_internalvar): New function. * value.h (complete_internalvar): Declare. testsuite * gdb.base/condbreak.exp: Add tests for "condition" completion.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h
index b630fc7..242cae3 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -765,6 +765,8 @@ extern struct internalvar *lookup_only_internalvar (const char *name);
extern struct internalvar *create_internalvar (const char *name);
+extern VEC (char_ptr) *complete_internalvar (const char *name);
+
/* An internalvar can be dynamically computed by supplying a vector of
function pointers to perform various operations. */