[PATCH] Fix broken Unixware 7 cross-debugger builds
Kevin Buettner
kevinb@cygnus.com
Mon Mar 19 18:41:00 GMT 2001
I've just committed the following change...
* config/i386/i386v42mp.mh (NATDEPFILES): List all files on
same line to avoid problems with Unixware 7's make when building
a cross debugger.
Index: config/i386/i386v42mp.mh
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/i386v42mp.mh,v
retrieving revision 1.3
diff -u -p -r1.3 i386v42mp.mh
--- i386v42mp.mh 2001/03/10 06:17:21 1.3
+++ i386v42mp.mh 2001/03/20 02:29:07
@@ -8,7 +8,12 @@ XM_CLIBS= -lsocket -lnsl
# we don't want nm-i386v4.h since that defines LOSING_POLL which isn't
# appropriate for i386v42mp
NAT_FILE= nm-i386v42mp.h
-NATDEPFILES= corelow.o core-regset.o fork-child.o i386v4-nat.o \
- solib.o solib-svr4.o solib-legacy.o \
- procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o uw-thread.o
+
+# NATDEPFILES must remain entirely on one line. When building a cross
+# debugger, configure will cause this line to be commented out in the
+# Makefile. Many non-GNU versions of make don't permit the use of a
+# continuation character (backslash) to extend a commented line. As a
+# consequence, make considers subsequent tab-indented lines to be
+# some sort of error.
+NATDEPFILES= corelow.o core-regset.o fork-child.o i386v4-nat.o solib.o solib-svr4.o solib-legacy.o procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o uw-thread.o
More information about the Gdb-patches
mailing list