aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-lang.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/f-lang.h')
-rw-r--r--gdb/f-lang.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/f-lang.h b/gdb/f-lang.h
index 1ccdd39..154edfd 100644
--- a/gdb/f-lang.h
+++ b/gdb/f-lang.h
@@ -67,7 +67,8 @@ public:
/* See language.h. */
- char *demangle_symbol (const char *mangled, int options) const override
+ gdb::unique_xmalloc_ptr<char> demangle_symbol (const char *mangled,
+ int options) const override
{
/* We could support demangling here to provide module namespaces
also for inferiors with only minimal symbol table (ELF symbols).