diff options
Diffstat (limited to 'gdb/d-namespace.c')
-rw-r--r-- | gdb/d-namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/d-namespace.c b/gdb/d-namespace.c index 5af042a..eb459a4 100644 --- a/gdb/d-namespace.c +++ b/gdb/d-namespace.c @@ -130,7 +130,7 @@ d_lookup_symbol (const struct language_defn *langdef, if (lang_this.symbol == NULL) return {}; - type = check_typedef (TYPE_TARGET_TYPE (lang_this.symbol->type ())); + type = check_typedef (lang_this.symbol->type ()->target_type ()); classname = type->name (); nested = name; } |