diff options
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index fa3f422..a30d900 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2068,7 +2068,7 @@ lookup_symbol_aux (const char *name, symbol_name_match_type match_type, /* I'm not really sure that type of this can ever be typedefed; just be safe. */ t = check_typedef (t); - if (t->code () == TYPE_CODE_PTR || TYPE_IS_REFERENCE (t)) + if (t->is_pointer_or_reference ()) t = TYPE_TARGET_TYPE (t); if (t->code () != TYPE_CODE_STRUCT |