This commit makes it so reading dbx inferiors will not read stabs
debuginfo from the inferiors.
This has the side effect of making reading DBX inferiors a noop. It
will be removed in a future commit, however, the present series of
commit is focused on just removing stabs.
Approved-By: Tom Tromey <tom@tromey.com>
#include "target.h"
#include "libaout.h"
#include "objfiles.h"
-#include "stabsread.h"
+#include "buildsym-legacy.h"
#include "gdb-stabs.h"
#include "cp-support.h"
-
-/* Required for the following registry. */
-#include "gdb-stabs.h"
+#include "c-lang.h"
+#include "psymtab.h"
+#include "block.h"
+#include "aout/aout64.h"
+#include "aout/stab_gnu.h"
/* Local function prototypes. */
static void
dbx_symfile_read (struct objfile *objfile, symfile_add_flags symfile_flags)
{
- read_stabs_symtab (objfile, symfile_flags);
}
/* Initialize anything that needs initializing when a completely new
static void
dbx_new_init (struct objfile *ignore)
{
- stabsread_new_init ();
- init_header_files ();
- warning (_("The a.out file format is deprecated and will be removed soon."));
}
static void
dbx_symfile_finish (struct objfile *objfile)
{
- free_header_files ();
}
\f