* 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 fabc0a9de35d389d4d15cc097e0aaa5499dfa8ac..7ad74ea757bc0673d334dd81cf3deede45d353e5 100644 (file)
@@ -1,3 +1,8 @@
+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.
index a3fe265618ebc80844817741cebde6613cb871ab..0f14f8f7eb29e8fbb393ace1a9335e79eeba592c 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 fb58464f8b5c6076165e50a7ecd4a5e800d07fc9..4abcf38234f667ae48959467c37f72b6fd5e68a0 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 *);