This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] config/i386/nbsd.mh: Fix NetBSD 1.4 build problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]