summaryrefslogtreecommitdiff
path: root/gdb/somread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/somread.c')
-rw-r--r--gdb/somread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/somread.c b/gdb/somread.c
index 6c6cc14c117..c262196e0cc 100644
--- a/gdb/somread.c
+++ b/gdb/somread.c
@@ -534,7 +534,6 @@ som_symfile_offsets (struct objfile *objfile,
static const struct sym_fns som_sym_fns =
{
- bfd_target_som_flavour,
som_new_init, /* init anything gbl to entire symtab */
som_symfile_init, /* read initial info, setup for sym_read() */
som_symfile_read, /* read a symbol file into symtab */
@@ -553,5 +552,5 @@ initialize_file_ftype _initialize_somread;
void
_initialize_somread (void)
{
- add_symtab_fns (&som_sym_fns);
+ add_symtab_fns (bfd_target_som_flavour, &som_sym_fns);
}