aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-05-06 14:12:18 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-05-06 14:12:18 +0000
commitd8228535f5e83861361a366e2298a4d8c79e78d8 (patch)
tree161d3b918d124eda579d6b711262fde26ffa4d2b /gdb/value.h
parent1976171a47ef25e0b893222c5d704c89a8678ed7 (diff)
downloadbinutils-d8228535f5e83861361a366e2298a4d8c79e78d8.zip
binutils-d8228535f5e83861361a366e2298a4d8c79e78d8.tar.gz
binutils-d8228535f5e83861361a366e2298a4d8c79e78d8.tar.bz2
gdb/
* c-exp.y (qualified_name): Call destructor_name_p with $1.type. (classify_inner_name): Call cp_lookup_nested_type with yylval.tsym.type. * cp-namespace.c (cp_lookup_nested_type): New variable saved_parent_type. Call CHECK_TYPEDEF for parent_type. Call type_name_no_tag_or_error with saved_parent_type. * dwarf2read.c (load_partial_dies): Read in any children of DW_TAG_typedef with complaint in such case. * gdbtypes.c (type_name_no_tag_or_error): New function. * gdbtypes.h (type_name_no_tag_or_error): New prototype. * valops.c (destructor_name_p): New comment for parameter type. Remove type const. Make dname and cp const. Call type_name_no_tag_or_error. * value.h (destructor_name_p): Remove type const.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 0889cef..4c42633 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -736,7 +736,7 @@ extern int binop_user_defined_p (enum exp_opcode op, struct value *arg1,
extern int unop_user_defined_p (enum exp_opcode op, struct value *arg1);
-extern int destructor_name_p (const char *name, const struct type *type);
+extern int destructor_name_p (const char *name, struct type *type);
extern void value_incref (struct value *val);