diff options
author | Tom Tromey <tromey@redhat.com> | 2010-09-30 19:14:30 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-09-30 19:14:30 +0000 |
commit | 00b5771c2a7b46f918bd7c8dd8ec44b79b1372b8 (patch) | |
tree | ddc93e571778fd8876c7054edaf0c4bd41042929 /gdb/symfile.h | |
parent | 38f12cfce28f77a63b324a65a30d143f92cc0af4 (diff) | |
download | gdb-00b5771c2a7b46f918bd7c8dd8ec44b79b1372b8.zip gdb-00b5771c2a7b46f918bd7c8dd8ec44b79b1372b8.tar.gz gdb-00b5771c2a7b46f918bd7c8dd8ec44b79b1372b8.tar.bz2 |
* 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/symfile.h')
-rw-r--r-- | gdb/symfile.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h index 58ab786..afa92cd 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -345,14 +345,6 @@ struct sym_fns /* The "quick" (aka partial) symbol functions for this symbol reader. */ const struct quick_symbol_functions *qf; - - /* Finds the next struct sym_fns. They are allocated and - initialized in whatever module implements the functions pointed - to; an initializer calls add_symtab_fns to add them to the global - chain. */ - - struct sym_fns *next; - }; extern struct section_addr_info * @@ -384,7 +376,7 @@ extern bfd_byte *default_symfile_relocate (struct objfile *objfile, extern struct symtab *allocate_symtab (char *, struct objfile *); -extern void add_symtab_fns (struct sym_fns *); +extern void add_symtab_fns (const struct sym_fns *); /* This enum encodes bit-flags passed as ADD_FLAGS parameter to syms_from_objfile, symbol_file_add, etc. */ |