summaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-09-30 19:14:29 +0000
committerTom Tromey <tromey@redhat.com>2010-09-30 19:14:29 +0000
commit8d7231636f77e0631d4232d79b7e57ec69ae4c09 (patch)
treec61363a7eb79b6275b2b968daa2cf8ff29335844 /gdb/objfiles.h
parent4b8866f58d981ccfc841070c8a366661338db128 (diff)
downloadgdb-8d7231636f77e0631d4232d79b7e57ec69ae4c09.tar.gz
* symfile.h (struct sym_fns) <next>: Remove.
(add_symtab_fns): Update. * symfile.c (sym_fns_ptr): New typedef. (symtab_fns): Now a VEC. (add_symtab_fns): Update. Change argument type. (find_sym_fns): Update. Change return type. (get_symfile_segment_data): Update. * objfiles.h (struct objfile) <sf>: Now const. * somread.c (som_sym_fns): Now const. Update. * xcoffread.c (xcoff_sym_fns): Now const. Update. * mipsread.c (ecoff_sym_fns): Now const. Update. * machoread.c (macho_sym_fns): Now const. Update. * elfread.c (elf_sym_fns): Now const. Update. (elf_sym_fns_gdb_index): Likewise. * dbxread.c (aout_sym_fns): Now const. Update. * coffread.c (coff_sym_fns): Now const. Update.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 8b47d2bbfaf..130ae26c344 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -293,7 +293,7 @@ struct objfile
allocated memory, and is shared by all objfiles that use the
object module reader of this type. */
- struct sym_fns *sf;
+ const struct sym_fns *sf;
/* The per-objfile information about the entry point, the scope (file/func)
containing the entry point, and the scope of the user's main() func. */