This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[ob] Add missing `struct objfile' to symtab.h
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 18 Feb 2003 17:25:42 -0500
- Subject: [ob] Add missing `struct objfile' to symtab.h
Just FYI,
This fixes a build problem with --target=sparc-elf. The ARI script:
http://sources.redhat.com/gdb/current/ari/gdb_ari.sh
has also been updated to check for this.
committed,
Andrew
2003-02-18 Andrew Cagney <cagney@redhat.com>
* symtab.h (struct objfile): Add opaque declaration.
Index: symtab.h
===================================================================
RCS file: /cvs/src/src/gdb/symtab.h,v
retrieving revision 1.57
diff -u -r1.57 symtab.h
--- symtab.h 4 Feb 2003 21:37:03 -0000 1.57
+++ symtab.h 18 Feb 2003 22:10:04 -0000
@@ -26,6 +26,7 @@
/* Opaque declarations. */
struct obstack;
+struct objfile;
/* Don't do this; it means that if some .o's are compiled with GNU C
and some are not (easy to do accidentally the way we configure