From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16959 invoked by alias); 29 Mar 2002 07:49:38 -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 16952 invoked from network); 29 Mar 2002 07:49:37 -0000 Received: from unknown (HELO beta.dmz-eu.st.com) (164.129.1.35) by sources.redhat.com with SMTP; 29 Mar 2002 07:49:37 -0000 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with SMTP id 2A4014DC0; Fri, 29 Mar 2002 07:49:27 +0000 (GMT) Received: by zeta.dmz-eu.st.com (STMicroelectronics, from userid 0) id 5AB1D6347; Fri, 29 Mar 2002 07:49:23 +0000 (GMT) Received: from eux220.sgp.st.com (localhost [127.0.0.1]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 18E891845; Fri, 29 Mar 2002 07:49:23 +0000 (GMT) Received: from crx316.cro.st.com (crx316.cro.st.com [164.129.43.128]) by eux220.sgp.st.com (8.9.3 (PHNE_24419)/8.9.3) with ESMTP id IAA05266; Fri, 29 Mar 2002 08:49:22 +0100 (MET) Received: from dais.cro.st.com (crx722.cro.st.com [164.129.44.222]) by crx316.cro.st.com with ESMTP (8.9.3 (PHNE_24419)/8.7.1) id IAA08297; Fri, 29 Mar 2002 08:51:38 +0100 (MET) Received: from st.com (crx1009 [164.129.46.109]) by dais.cro.st.com (8.8.8+Sun/8.8.8) with ESMTP id IAA25937; Fri, 29 Mar 2002 08:52:07 +0100 (MET) Message-ID: <3CA41D26.9AAECD85@st.com> Date: Thu, 28 Mar 2002 23:49:00 -0000 From: Christophe PLANAT Organization: ST CR&D Crolles X-Accept-Language: en MIME-Version: 1.0 To: drow@mvista.com Cc: gdb@sources.redhat.com Subject: Re: Disable -O2 debug option in the configure processing References: <3CA34A49.58E5CC4C@st.com> <20020328120219.A19654@nevyn.them.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-03/txt/msg00306.txt.bz2 drow@mvista.com wrote: > > 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 Thanks a lot. It works exactly as whished Christophe -- ---------------------------------------------------------------------- | Christophe PLANAT | Embedded Systems Technology | | Email : Christophe.Planat@st.com | STMicroelectronics | | Phone : +33 04 76 92 68 82 | 850, rue Jean-Monnet | | Fax : +33 04 76 92 50 94 | BP 16 - 38921 Crolles - France | ----------------------------------------------------------------------