diff options
author | Keith Seitz <keiths@redhat.com> | 2009-09-21 19:46:43 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2009-09-21 19:46:43 +0000 |
commit | 1290797801825ff96506c8197d301b60154c3250 (patch) | |
tree | f67a841cbe9ea0494e161fc4f3522abc7fa758ab /gdb/cp-support.h | |
parent | 11ef0d76ab7ca2b103955a98af4aa0eb7dbf74ab (diff) | |
download | gdb-1290797801825ff96506c8197d301b60154c3250.zip gdb-1290797801825ff96506c8197d301b60154c3250.tar.gz gdb-1290797801825ff96506c8197d301b60154c3250.tar.bz2 |
* cp-support.h (cp_validate_operator): Declare new function.
* cp-support.c (cp_validate_operator): New function.
* linespec.c (decode_compound): For C++ check for a valid operator.
Diffstat (limited to 'gdb/cp-support.h')
-rw-r--r-- | gdb/cp-support.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/cp-support.h b/gdb/cp-support.h index b5a5c5f..7ecd201 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -72,6 +72,8 @@ extern struct symbol **make_symbol_overload_list (const char *, extern struct type *cp_lookup_rtti_type (const char *name, struct block *block); +extern int cp_validate_operator (const char *input); + /* Functions/variables from cp-namespace.c. */ extern int cp_is_anonymous (const char *namespace); |