From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23135 invoked by alias); 4 Dec 2006 12:09:03 -0000 Received: (qmail 23123 invoked by uid 22791); 4 Dec 2006 12:09:02 -0000 X-Spam-Check-By: sourceware.org Received: from metis.extern.pengutronix.de (HELO metis.extern.pengutronix.de) (83.236.181.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 04 Dec 2006 12:08:55 +0000 Received: from vileda.ptxnet.pengutronix.de ([10.1.0.72]) by metis.extern.pengutronix.de with esmtp (Exim 3.36 #1 (Debian)) id 1GrCcv-0001X3-00; Mon, 04 Dec 2006 13:08:53 +0100 Message-ID: <45740FCE.9010801@pengutronix.de> Date: Mon, 04 Dec 2006 12:09:00 -0000 From: Marc Kleine-Budde User-Agent: Icedove 1.5.0.8 (X11/20061116) MIME-Version: 1.0 To: Joel Brobecker CC: gdb@sourceware.org, kaz@zeugmasystems.com Subject: Re: GDB 6.5.90 available for testing (GDB 6.6 pre-release) References: <20061202192351.GY3304@adacore.com> In-Reply-To: <20061202192351.GY3304@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00018.txt.bz2 Joel Brobecker wrote: > I have just finished creating the first release candidate for > GDB 6.6. It is available for download at the following location: > > ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-6.5.90.tar.bz2 > > A gzip'ed version is also available: gdb-6.4.90.tar.gz. > Please give it a test if you can and report any problems you might > find. If all goes well, this should be very close to what the GDB 6.6 > release will be. The problem with libtermcap resp. libncurses in a non default location still exists. See PR2175, PR2176 and http://sources.redhat.com/ml/gdb/2006-10/msg00234.html This is a combined version of Kaz and my patch. Please consider applying or has the Makefile.tpl to be modified? Marc --- Index: gdb-6.5.90/Makefile.in =================================================================== --- gdb-6.5.90.orig/Makefile.in +++ gdb-6.5.90/Makefile.in @@ -140,6 +140,7 @@ HOST_EXPORTS = \ $(BASE_EXPORTS) \ CC="$(CC)"; export CC; \ CFLAGS="$(CFLAGS)"; export CFLAGS; \ + CPPFLAGS="$(CPPFLAGS)"; export CPPFLAGS; \ CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ CXX="$(CXX)"; export CXX; \ CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ @@ -288,8 +289,9 @@ STRIP = @STRIP@ WINDRES = @WINDRES@ CFLAGS = @CFLAGS@ -LDFLAGS = +LDFLAGS = @LDFLAGS@ LIBCFLAGS = $(CFLAGS) +CPPFLAGS = @CPPFLAGS@ CXXFLAGS = @CXXFLAGS@ LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates PICFLAG = Index: gdb-6.5.90/gdb/Makefile.in =================================================================== --- gdb-6.5.90.orig/gdb/Makefile.in +++ gdb-6.5.90/gdb/Makefile.in @@ -352,7 +352,7 @@ CXXFLAGS = -g -O # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. INTERNAL_CFLAGS_BASE = \ - $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \ + $(CPPFLAGS) $(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \ $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \ $(BFD_CFLAGS) $(INCLUDE_CFLAGS) \ $(INTL_CFLAGS) $(ENABLE_CFLAGS) $(INTERNAL_CPPFLAGS) @@ -362,6 +362,8 @@ INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS # LDFLAGS is specifically reserved for setting from the command line # when running make. LDFLAGS = @LDFLAGS@ +CPPFLAGS = @CPPFLAGS@ + # Profiling options need to go here to work. # I think it's perfectly reasonable for a user to set -pg in CFLAGS @@ -441,6 +443,7 @@ FLAGS_TO_PASS = \ "AR_FLAGS=$(AR_FLAGS)" \ "CC=$(CC)" \ "CFLAGS=$(CFLAGS)" \ + "CPPFLAGS=$(CPPFLAGS)" \ "CXX=$(CXX)" \ "CXXFLAGS=$(CXXFLAGS)" \ "DLLTOOL=$(DLLTOOL)" \ @@ -500,6 +503,7 @@ TARGET_FLAGS_TO_PASS = \ 'CC=$$(CC_FOR_TARGET)' \ "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ "CFLAGS=$(CFLAGS)" \ + "CPPFLAGS=$(CPPFLAGS)" \ 'CXX=$$(CXX_FOR_TARGET)' \ "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \ "CXXFLAGS=$(CXXFLAGS)" \ -- Dipl.-Ing. Marc Kleine-Budde | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9