[Top][All Lists]

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

Re: [avr-gcc-list] avr-gcc dwarf-2 debug format.

From: E. Weddington
Subject: Re: [avr-gcc-list] avr-gcc dwarf-2 debug format.
Date: Mon, 28 Mar 2005 13:28:21 -0700
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Joerg Wunsch wrote:

Jeff Kowing <address@hidden> wrote:

What flags or patches are needed when building avr-gcc to enable
the dwarf-2 debug support ?

I believe you need to add --with-dwarf2
to the configure arguments.

I think that will also make it the default debugging format

If you'd like to add the ability to use -gdwarf-2 but still
defaulting -g to -gstabs, use this patch:

--- gcc/config/avr/avr.h.orig   Tue Mar  9 03:59:55 2004
+++ gcc/config/avr/avr.h        Sun Jul  4 21:46:12 2004
@@ -2479,4 +2479,5 @@
/* zero register r1 */
#define ZERO_REGNO 1


FYI, I changed the latest release of WinAVR to default -g to dwarf-2, i.e. it no longer uses the above patch.

reply via email to

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