avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] [AVR] RTL prologue/epilogue ver.3


From: Weddington, Eric
Subject: Re: [avr-gcc-list] [AVR] RTL prologue/epilogue ver.3
Date: Thu, 13 Oct 2011 16:48:21 -0600


> -----Original Message-----
> From: Georg-Johann Lay
> Sent: Thursday, October 13, 2011 3:31 PM
> To: address@hidden
> Cc: Weddington, Eric; Boyapati, Anitha
> Subject: Re: [avr-gcc-list] [AVR] RTL prologue/epilogue ver.3
> 
> Weddington, Eric a écrit:
> 
> > There will probably have to be some info in the DWARF debug info for the
> > debugger to track...
> 
> The information is all there, it just has to be used.
> 
> But maybe the real problem is located in
> 
> ./gcc/config/avr/elf.h:
> 
> #undef PREFERRED_DEBUGGING_TYPE
> #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
> 
> so that is does not suffice to specify -g to get DWARF.
> I copied these lines above from avr.h in order to have no functional
> change when I cleaned up the elf code and included ./gcc/config/elfos.h
> which reads:
> 
> /* The GNU tools operate better with dwarf2, and it is required by some
>     psABI's.  Since we don't have any native tools to be compatible with,
>     default to dwarf2.  */
> 
> #ifndef PREFERRED_DEBUGGING_TYPE
> #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
> #endif

Yeah, we need to make sure that DWARF2 debugging info is the default and 
enabled.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]