This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] IBM6000_TARGET is wrong for NetBSD/powerpc
- From: "Nathan J. Williams" <nathanw at wasabisystems dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: 14 Aug 2003 18:13:38 -0400
- Subject: [PATCH] IBM6000_TARGET is wrong for NetBSD/powerpc
- Organization: Wasabi Systems, Inc.
I just remembered to dig this "local" fix out of the NetBSD
tree. NetBSD doen't want the IBM6000_TARGET-munged section
calculations either. The comment is cribbed from the similar #undef in
tm-linux.h.
I'd appreciate it if someone could check and commit this.
- Nathan
Index: tm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/powerpc/tm-nbsd.h,v
retrieving revision 1.2
diff -u -r1.2 tm-nbsd.h
--- tm-nbsd.h 22 May 2002 03:59:55 -0000 1.2
+++ tm-nbsd.h 14 Aug 2003 22:09:26 -0000
@@ -23,4 +23,8 @@
#include "powerpc/tm-ppc-eabi.h"
+/* We _want_ the SVR4 section offset calculations (see syms_from_objfile()
+ in symfile.c) */
+#undef IBM6000_TARGET
+
#endif /* TM_NBSD_H */