This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix ppc-eabi snafu
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 3 Dec 2001 14:23:06 -0700
- Subject: [PATCH] Fix ppc-eabi snafu
I've just committed the patch below which fixes an oversight from my
"SVR4 link map offset fetcher" patch of last week. Thanks to Andrew
and Elena for their feedback regarding this problem.
* config/powerpc/tm-macos.h (solib.h): Include.
* config/powerpc/tm-ppc-eabi.h (solib.h): Include.
Index: config/powerpc/tm-macos.h
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/tm-macos.h,v
retrieving revision 1.3
diff -u -p -r1.3 tm-macos.h
--- tm-macos.h 2001/03/06 08:21:34 1.3
+++ tm-macos.h 2001/12/03 20:57:47
@@ -21,4 +21,7 @@
/* Use generic RS6000 definitions. */
#include "rs6000/tm-rs6000.h"
+/* Use generic shared library machinery. */
+#include "solib.h"
+
#define GDB_TARGET_POWERPC
Index: config/powerpc/tm-ppc-eabi.h
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/tm-ppc-eabi.h,v
retrieving revision 1.6
diff -u -p -r1.6 tm-ppc-eabi.h
--- tm-ppc-eabi.h 2001/03/20 18:16:20 1.6
+++ tm-ppc-eabi.h 2001/12/03 20:57:47
@@ -45,4 +45,7 @@
it shouldn't be. */
#define SOFUN_ADDRESS_MAYBE_MISSING
+/* Use generic shared library machinery. */
+#include "solib.h"
+
#endif /* TM_PPC_EABI_H */