Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Disable -O2 debug option in the configure processing
@ 2002-03-28  8:58 Christophe PLANAT
  2002-03-28  9:02 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe PLANAT @ 2002-03-28  8:58 UTC (permalink / raw)
  To: gdb

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
	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 |
----------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Disable -O2 debug option in the configure processing
  2002-03-28  8:58 Disable -O2 debug option in the configure processing Christophe PLANAT
@ 2002-03-28  9:02 ` Daniel Jacobowitz
  2002-03-28 23:49   ` Christophe PLANAT
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2002-03-28  9:02 UTC (permalink / raw)
  To: Christophe PLANAT; +Cc: gdb

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Disable -O2 debug option in the configure processing
  2002-03-28  9:02 ` Daniel Jacobowitz
@ 2002-03-28 23:49   ` Christophe PLANAT
  0 siblings, 0 replies; 3+ messages in thread
From: Christophe PLANAT @ 2002-03-28 23:49 UTC (permalink / raw)
  To: drow; +Cc: gdb

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 |
----------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-29  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-28  8:58 Disable -O2 debug option in the configure processing Christophe PLANAT
2002-03-28  9:02 ` Daniel Jacobowitz
2002-03-28 23:49   ` Christophe PLANAT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox