aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-demangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb-demangle.c')
-rw-r--r--gdb/gdb-demangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdb-demangle.c b/gdb/gdb-demangle.c
index 3af3182..4bcdd98 100644
--- a/gdb/gdb-demangle.c
+++ b/gdb/gdb-demangle.c
@@ -202,7 +202,7 @@ demangle_command (const char *args, int from_tty)
lang = current_language;
gdb::unique_xmalloc_ptr<char> demangled
- = language_demangle (lang, name, DMGL_ANSI | DMGL_PARAMS);
+ = lang->demangle_symbol (name, DMGL_ANSI | DMGL_PARAMS);
if (demangled != NULL)
gdb_printf ("%s\n", demangled.get ());
else