aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-01-21 18:01:34 +0000
committerTom Tromey <tromey@redhat.com>2013-01-21 18:01:34 +0000
commitcfc594ee569f473094855682e5b2ec2738b0cf67 (patch)
tree8243bf4d5a680fcb8d067eeee97f3930ed64c6fb /gdb/symtab.h
parent5484b13a88161ed38ee9101eb474e024f5406b95 (diff)
downloadgdb-cfc594ee569f473094855682e5b2ec2738b0cf67.zip
gdb-cfc594ee569f473094855682e5b2ec2738b0cf67.tar.gz
gdb-cfc594ee569f473094855682e5b2ec2738b0cf67.tar.bz2
* dwarf2read.c (new_symbol_full): Remove cast.
* symtab.c (symbol_set_demangled_name): Make 'name' const. * symtab.h (symbol_set_demangled_name): Update.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index b992266..3861051 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -167,7 +167,8 @@ struct general_symbol_info
struct obj_section *obj_section;
};
-extern void symbol_set_demangled_name (struct general_symbol_info *, char *,
+extern void symbol_set_demangled_name (struct general_symbol_info *,
+ const char *,
struct objfile *);
extern const char *symbol_get_demangled_name