* symfile.h (struct sym_fns): Delete member "sym_flavour".
authorDoug Evans <dje@google.com>
Wed, 25 Sep 2013 22:48:19 +0000 (22:48 +0000)
committerDoug Evans <dje@google.com>
Wed, 25 Sep 2013 22:48:19 +0000 (22:48 +0000)
commitc256e171654791e456088ccb4c83d183650d8940
treef71a1f5875963eb8eff25aefb51e2fcb454128c4
parentf56ce88372c4b5848638bab8b10b71042725a100
* symfile.h (struct sym_fns): Delete member "sym_flavour".
All uses updated.
(add_symtab_fns): Update prototype.
* symfile.c (sym_fns_ptr): Delete.  Replace with ...
(registered_sym_fns): ... this.
(symtab_fns): Update.
(add_symtab_fns): New arg "flavour".  All callers updated.
(find_sym_fns): Rewrite to use new sym_fns registry.
gdb/ChangeLog
gdb/coffread.c
gdb/dbxread.c
gdb/elfread.c
gdb/machoread.c
gdb/mipsread.c
gdb/somread.c
gdb/symfile.c
gdb/symfile.h
gdb/xcoffread.c