diff options
author | Tom Tromey <tromey@redhat.com> | 2010-10-01 20:26:06 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-10-01 20:26:06 +0000 |
commit | 7f73b16f0a7f617c01443fa12d9c0f4073ba7079 (patch) | |
tree | 8d382b02c7923daea57aa8b43fded54f456124fb /gdb/buildsym.c | |
parent | 47967cc493d79ef2b574677c9da5afec3df775f4 (diff) | |
download | gdb-7f73b16f0a7f617c01443fa12d9c0f4073ba7079.tar.gz |
* symfile.h (allocate_symtab): Update.
* symfile.c (allocate_symtab): Make 'filename' const.
* psymtab.c (add_psymbol_to_bcache): Make 'name' const.
(add_psymbol_to_list): Likewise.
* psympriv.h (struct partial_symtab) <filename, dirname>: Now
const.
(add_psymbol_to_list): Update.
* mdebugread.c (new_symtab): Make 'name' const.
(psymtab_to_symtab_1): Make 'filename' const.
* elfread.c (elfstab_offset_sections): Update.
* dwarf2read.c (dwarf_decode_lines): Make 'comp_dir' const.
(dwarf2_start_subfile): Make 'dirname' and 'comp_dir' const.
(psymtab_include_file_name): Update.
* dbxread.c (find_stab_function_addr): Make 'filename' const.
* buildsym.h (start_subfile): Update.
* buildsym.c (start_subfile): Make arguments const.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index e690a0ca0e7..4a76e3e178d 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -523,7 +523,7 @@ make_blockvector (struct objfile *objfile) the directory in which the file was compiled (or NULL if not known). */ void -start_subfile (char *name, char *dirname) +start_subfile (const char *name, const char *dirname) { struct subfile *subfile; |