This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] config/i386/nbsd.mh: Fix NetBSD 1.4 build problem
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH] config/i386/nbsd.mh: Fix NetBSD 1.4 build problem
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Sun, 18 Mar 2001 22:21:05 -0700
I've just committed the change below. The ChangeLog entry and the
comment in the patch should explain everything...
* config/i386/nbsd.mh (NATDEPFILES): List all files on the same
line to avoid build problem on NetBSD 1.4.
Index: config/i386/nbsd.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/nbsd.mh,v
retrieving revision 1.8
diff -u -p -r1.8 nbsd.mh
--- nbsd.mh 2001/03/10 06:17:21 1.8
+++ nbsd.mh 2001/03/19 05:14:05
@@ -1,6 +1,13 @@
# Host: Intel 386 running NetBSD
XDEPFILES=
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386nbsd-nat.o \
- solib.o solib-svr4.o solib-legacy.o
+
+# NATDEPFILES must remain entirely on one line for *BSD. When
+# building a cross debugger, configure will cause this line to be
+# commented out in the Makefile. BSD make doesn't permit the use of a
+# continuation character (backslash) to extend a commented line. As a
+# consequence, BSD make considers subsequent tab-indented lines to be
+# "unassociated shell commands".
+NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386nbsd-nat.o solib.o solib-svr4.o solib-legacy.o
+
XM_FILE= xm-nbsd.h
NAT_FILE= nm-nbsd.h