aboutsummaryrefslogtreecommitdiff
path: root/gdb/d-namespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/d-namespace.c')
-rw-r--r--gdb/d-namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/d-namespace.c b/gdb/d-namespace.c
index f15708b..f3053d6 100644
--- a/gdb/d-namespace.c
+++ b/gdb/d-namespace.c
@@ -131,7 +131,7 @@ d_lookup_symbol (const struct language_defn *langdef,
return {};
type = check_typedef (TYPE_TARGET_TYPE (SYMBOL_TYPE (lang_this.symbol)));
- classname = TYPE_NAME (type);
+ classname = type->name ();
nested = name;
}
else