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.
This commit is contained in:
parent
1976171a47
commit
d8228535f5
8 changed files with 75 additions and 9 deletions
|
@ -1362,6 +1362,8 @@ extern struct type *allocate_stub_method (struct type *);
|
|||
|
||||
extern char *type_name_no_tag (const struct type *);
|
||||
|
||||
extern const char *type_name_no_tag_or_error (struct type *type);
|
||||
|
||||
extern struct type *lookup_struct_elt_type (struct type *, char *, int);
|
||||
|
||||
extern struct type *make_pointer_type (struct type *, struct type **);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue