From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22327 invoked by alias); 28 Mar 2002 17:02:30 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 22308 invoked from network); 28 Mar 2002 17:02:28 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 28 Mar 2002 17:02:28 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 16qdI3-00057K-00; Thu, 28 Mar 2002 12:02:19 -0500 Date: Thu, 28 Mar 2002 09:02:00 -0000 From: Daniel Jacobowitz To: Christophe PLANAT Cc: gdb@sources.redhat.com Subject: Re: Disable -O2 debug option in the configure processing Message-ID: <20020328120219.A19654@nevyn.them.org> Mail-Followup-To: Christophe PLANAT , gdb@sources.redhat.com References: <3CA34A49.58E5CC4C@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CA34A49.58E5CC4C@st.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-03/txt/msg00301.txt.bz2 On Thu, Mar 28, 2002 at 05:52:25PM +0100, Christophe PLANAT wrote: > Hi, > > Does anybody knows how to disable -O2 debugging option (and keep only > -g) in all Makefile generated by configure during the GDB recursive > configure processing (configure --target ...) ? > > I try several tests modifying mt-[target], forcing CFLAGS=-g ... without > any success > > Thanks for your help Set CFLAGS before you run configure and you should be fine. I use '-O0 -g'. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer