gdb-5.3 -- some minor build problems + 3 patches

Peter Breitenlohner peb@mppmu.mpg.de
Wed Jan 22 18:30:00 GMT 2003


and here the second patch:

	LDFLAGS were not propagated from gdb to gdb/gdbserver.
	Consequently "make LDFLAGS=-s" did produced unstripped gdbreplay and
	gdbserver binaries.

	All this wouldn't be needed, if the gdb distribution were to support
	"make install-strip" as most modern packages do. Unfortunately this
	feature has not (yet?) found its way into the cygnus type source
	trees (nor has DESTDIR support).

Peter Breitenlohner <peb@mppmu.mpg.de>
-------------- next part --------------
	LDFLAGS were not propagated from gdb to gdb/gdbserver.
	Consequently "make LDFLAGS=-s" did produced unstripped gdbreplay and
	gdbserver binaries.

	All this wouldn't be needed, if the gdb distribution were to support
	"make install-strip" as most modern packages do. Unfortunately this
	feature has not (yet?) found its way into the cygnus type source
	trees (nor has DESTDIR support).

diff -ur gdb+dejagnu-weekly-CVS-20030121.orig/src/gdb/Makefile.in gdb+dejagnu-weekly-CVS-20030121/src/gdb/Makefile.in
--- gdb+dejagnu-weekly-CVS-20030121.orig/src/gdb/Makefile.in	2003-01-18 18:25:22.000000000 +0100
+++ gdb+dejagnu-weekly-CVS-20030121/src/gdb/Makefile.in	2003-01-22 19:04:56.000000000 +0100
@@ -431,6 +431,7 @@
 	"CXX=$(CXX)" \
 	"CXXFLAGS=$(CXXFLAGS)" \
 	"DLLTOOL=$(DLLTOOL)" \
+	"LDFLAGS=$(LDFLAGS)" \
 	"RANLIB=$(RANLIB)" \
 	"MAKEINFO=$(MAKEINFO)" \
 	"MAKEHTML=$(MAKEHTML)" \


More information about the Gdb-patches mailing list