diff options
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 86e59ab..260f583 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -1,5 +1,5 @@ /* Read dbx symbol tables and convert to internal format, for GDB. - Copyright (C) 1986-2024 Free Software Foundation, Inc. + Copyright (C) 1986-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -31,36 +31,18 @@ for real. dbx_psymtab_to_symtab() is the function that does this */ -#include "event-top.h" -#include "gdbsupport/gdb_obstack.h" #include <sys/stat.h> #include "symtab.h" -#include "breakpoint.h" #include "target.h" -#include "gdbcore.h" #include "libaout.h" -#include "filenames.h" #include "objfiles.h" -#include "buildsym-legacy.h" #include "stabsread.h" #include "gdb-stabs.h" -#include "demangle.h" -#include "complaints.h" -#include "cp-abi.h" #include "cp-support.h" -#include "c-lang.h" -#include "psymtab.h" -#include "block.h" -#include "aout/aout64.h" -#include "aout/stab_gnu.h" - + /* Required for the following registry. */ #include "gdb-stabs.h" - - - - /* Local function prototypes. */ static void dbx_symfile_init (struct objfile *); @@ -266,9 +248,7 @@ static const struct sym_fns aout_sym_fns = NULL, /* sym_probe_fns */ }; -void _initialize_dbxread (); -void -_initialize_dbxread () +INIT_GDB_FILE (dbxread) { add_symtab_fns (bfd_target_aout_flavour, &aout_sym_fns); } |