CVS commit: src/external/gpl3/gdb.old/lib/libgdb

2021-05-07 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri May  7 12:19:48 UTC 2021

Modified Files:
src/external/gpl3/gdb.old/lib/libgdb: Makefile

Log Message:
For GCC10, add -Wno-unused-result for alloca(0) here and there.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gdb.old/lib/libgdb/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.old/lib/libgdb/Makefile
diff -u src/external/gpl3/gdb.old/lib/libgdb/Makefile:1.11 src/external/gpl3/gdb.old/lib/libgdb/Makefile:1.12
--- src/external/gpl3/gdb.old/lib/libgdb/Makefile:1.11	Thu Oct  8 08:31:37 2020
+++ src/external/gpl3/gdb.old/lib/libgdb/Makefile	Fri May  7 12:19:48 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2020/10/08 08:31:37 rin Exp $
+#	$NetBSD: Makefile,v 1.12 2021/05/07 12:19:48 rin Exp $
 
 NOCTF=
 HOSTPROG_CXX=   1
@@ -79,3 +79,6 @@ CLEANDIRFILES+= \
 
 # corelow.c
 CWARNFLAGS.gcc+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-error=alloca-larger-than= :}
+
+# for alloca(0)
+CWARNFLAGS.gcc+=	${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-unused-result :}



CVS commit: src/external/gpl3/gdb.old/lib/libgdb

2015-08-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Aug 15 21:11:37 UTC 2015

Modified Files:
src/external/gpl3/gdb.old/lib/libgdb: Makefile

Log Message:
add a bunch of missing CLEANDIRFILES, since the implicit rules they
come from are not entirely simple to generate.

remove old DIST= setting that was wrong.

this subdir builds again for me now.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb.old/lib/libgdb/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.old/lib/libgdb/Makefile
diff -u src/external/gpl3/gdb.old/lib/libgdb/Makefile:1.1.1.1 src/external/gpl3/gdb.old/lib/libgdb/Makefile:1.2
--- src/external/gpl3/gdb.old/lib/libgdb/Makefile:1.1.1.1	Sat Aug 15 09:29:33 2015
+++ src/external/gpl3/gdb.old/lib/libgdb/Makefile	Sat Aug 15 21:11:37 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1.1.1 2015/08/15 09:29:33 christos Exp $
+#	$NetBSD: Makefile,v 1.2 2015/08/15 21:11:37 mrg Exp $
 
 .include bsd.own.mk
 
@@ -10,8 +10,6 @@ GDBARCHDIR=	${.CURDIR}/arch/${GDB_MACHIN
 
 .include ${GDBARCHDIR}/defs.mk
 
-DIST=		${NETBSDSRCDIR}/gnu/dist/gdb6
-
 SRCS=		${G_LIBGDB_OBS:.o=.c}
 GCPPFLAGS=	${G_INTERNAL_CFLAGS}
 CPPFLAGS+=	-I${.CURDIR} \
@@ -53,3 +51,14 @@ ada-exp.c: ada-lex.c
 .if ${MACHINE} == amiga
 COPTS.dwarf2-frame.c+=-O1
 .endif
+
+# These are generated by implicit rules and are not easy to generate
+CLEANDIRFILES+= \
+	ada-exp.c ada-lex.c \
+	c-exp.c \
+	cp-name-parser.c \
+	f-exp.c \
+	go-exp.c \
+	jv-exp.c \
+	m2-exp.c \
+	p-exp.c