diff options
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 25bf07b5af5..05e9f2ec47f 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -3573,7 +3573,7 @@ section (%s)"), dbx_symfile_read (objfile, 0); } -static struct sym_fns aout_sym_fns = +static const struct sym_fns aout_sym_fns = { bfd_target_aout_flavour, dbx_new_init, /* sym_new_init: init anything gbl to entire symtab */ @@ -3586,8 +3586,7 @@ static struct sym_fns aout_sym_fns = a file. */ NULL, /* sym_read_linetable */ default_symfile_relocate, /* sym_relocate: Relocate a debug section. */ - &psym_functions, - NULL /* next: pointer to next struct sym_fns */ + &psym_functions }; void |