* symfile.h (struct ecoff_debug_hack): Remove.
authorTom Tromey <tromey@redhat.com>
Wed, 2 Jan 2013 18:52:07 +0000 (18:52 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 2 Jan 2013 18:52:07 +0000 (18:52 +0000)
* objfiles.c: Don't include mdebugread.h.

gdb/ChangeLog
gdb/objfiles.c
gdb/symfile.h

index fabc0a9..7ad74ea 100644 (file)
@@ -1,5 +1,10 @@
 2013-01-02  Tom Tromey  <tromey@redhat.com>
 
+       * symfile.h (struct ecoff_debug_hack): Remove.
+       * objfiles.c: Don't include mdebugread.h.
+
+2013-01-02  Tom Tromey  <tromey@redhat.com>
+
        * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
        * configure.ac: Check for Mach-O support in BFD.  Update
        CONFIG_OBS.
index a3fe265..0f14f8f 100644 (file)
@@ -30,7 +30,6 @@
 #include "gdb-stabs.h"
 #include "target.h"
 #include "bcache.h"
-#include "mdebugread.h"
 #include "expression.h"
 #include "parser-defs.h"
 
index fb58464..4abcf38 100644 (file)
@@ -676,13 +676,6 @@ void dwarf2_free_objfile (struct objfile *);
 
 /* From mdebugread.c */
 
-/* Hack to force structures to exist before use in parameter list.  */
-struct ecoff_debug_hack
-{
-  struct ecoff_debug_swap *a;
-  struct ecoff_debug_info *b;
-};
-
 extern void mdebug_build_psymtabs (struct objfile *,
                                   const struct ecoff_debug_swap *,
                                   struct ecoff_debug_info *);