From: Tom Tromey Date: Wed, 2 Jan 2013 18:52:07 +0000 (+0000) Subject: * symfile.h (struct ecoff_debug_hack): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e36fbea4cb35f1fee549d234744d4a729ba0b40;p=binutils-gdb.git * symfile.h (struct ecoff_debug_hack): Remove. * objfiles.c: Don't include mdebugread.h. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fabc0a9de35..7ad74ea757b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-01-02 Tom Tromey + + * symfile.h (struct ecoff_debug_hack): Remove. + * objfiles.c: Don't include mdebugread.h. + 2013-01-02 Tom Tromey * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. diff --git a/gdb/objfiles.c b/gdb/objfiles.c index a3fe265618e..0f14f8f7eb2 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -30,7 +30,6 @@ #include "gdb-stabs.h" #include "target.h" #include "bcache.h" -#include "mdebugread.h" #include "expression.h" #include "parser-defs.h" diff --git a/gdb/symfile.h b/gdb/symfile.h index fb58464f8b5..4abcf38234f 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -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 *);