Module Name: src
Committed By: christos
Date: Sun Oct 2 18:15:23 UTC 2011
Modified Files:
src/external/gpl3/gdb/bin/gdb: Makefile
src/external/gpl3/gdb/bin/gdbtui: Makefile
Log Message:
Enable thread debugging support (not completely working yet).
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gdb/bin/gdb/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/gpl3/gdb/bin/gdbtui/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/bin/gdb/Makefile
diff -u src/external/gpl3/gdb/bin/gdb/Makefile:1.1 src/external/gpl3/gdb/bin/gdb/Makefile:1.2
--- src/external/gpl3/gdb/bin/gdb/Makefile:1.1 Sun Sep 25 23:02:44 2011
+++ src/external/gpl3/gdb/bin/gdb/Makefile Sun Oct 2 14:15:23 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:44 christos Exp $
+# $NetBSD: Makefile,v 1.2 2011/10/02 18:15:23 christos Exp $
.include "../Makefile.inc"
@@ -73,9 +73,7 @@ DPADD+= ${LIBOPCODESDIR}/libopcodes.a \
LDADD+= -lz -lcurses -lintl -lm -lkvm
DPADD+= ${LIBZ} ${LIBCURSES} ${LIBINTL} ${LIBM} ${LIBKVM}
-.if ${SRCS:Mnbsd-thread.c} != ""
LDADD+= -lpthread_dbg
-.endif
.include <bsd.prog.mk>
Index: src/external/gpl3/gdb/bin/gdbtui/Makefile
diff -u src/external/gpl3/gdb/bin/gdbtui/Makefile:1.1 src/external/gpl3/gdb/bin/gdbtui/Makefile:1.2
--- src/external/gpl3/gdb/bin/gdbtui/Makefile:1.1 Sun Sep 25 23:02:44 2011
+++ src/external/gpl3/gdb/bin/gdbtui/Makefile Sun Oct 2 14:15:23 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/09/26 03:02:44 christos Exp $
+# $NetBSD: Makefile,v 1.2 2011/10/02 18:15:23 christos Exp $
.include "../Makefile.inc"
@@ -69,9 +69,7 @@ DPADD+= ${LIBOPCODESDIR}/libopcodes.a \
LDADD+= -lz -lcurses -lintl -lm -lkvm
DPADD+= ${LIBZ} ${LIBCURSES} ${LIBINTL} ${LIBM} ${LIBKVM}
-.if ${SRCS:Mnbsd-thread.c} != ""
LDADD+= -lpthread_dbg
-.endif
.PATH: ${DIST}/gdb ${DIST}/gdb/mi ${DIST}/gdb/cli ${DIST}/gdb/tui \
${DIST}/gdb/signals ${DIST}/gdb/doc ${.CURDIR}/../arch/${MACHINE_ARCH}