diff options
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 4488b88..ef808c4 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -1296,11 +1296,11 @@ static struct htab *decoded_names_store; const, but nevertheless modified to a semantically equivalent form when a decoded name is cached in it. */ -char * +const char * ada_decode_symbol (const struct general_symbol_info *gsymbol) { - char **resultp = - (char **) &gsymbol->language_specific.mangled_lang.demangled_name; + const char **resultp = + (const char **) &gsymbol->language_specific.mangled_lang.demangled_name; if (*resultp == NULL) { |