diff options
author | Tom Tromey <tromey@redhat.com> | 2013-01-21 18:01:34 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-01-21 18:01:34 +0000 |
commit | cfc594ee569f473094855682e5b2ec2738b0cf67 (patch) | |
tree | 8243bf4d5a680fcb8d067eeee97f3930ed64c6fb /gdb/symtab.c | |
parent | 5484b13a88161ed38ee9101eb474e024f5406b95 (diff) | |
download | gdb-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.c')
-rw-r--r-- | gdb/symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 770f9e0..68d654d 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -465,7 +465,7 @@ symbol_init_cplus_specific (struct general_symbol_info *gsymbol, void symbol_set_demangled_name (struct general_symbol_info *gsymbol, - char *name, + const char *name, struct objfile *objfile) { if (gsymbol->language == language_cplus) |