[Top][All Lists]

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

Re: [avr-libc-dev] Re: vargs and ... doesn't work?

From: Björn Haase
Subject: Re: [avr-libc-dev] Re: vargs and ... doesn't work?
Date: Tue, 6 Jun 2006 19:02:57 +0200
User-agent: KMail/1.7.1

Joerg Desch wrote on Dienstag, 6. Juni 2006 09:11 :
> On Fri, 2 Jun 2006 09:05:55 +0200
> Björn Haase <address@hidden> wrote:
> > The only problem is, that 1.) gcc-4.2.x does not compile with dwarf2
> > right now due to lacking support for frame offset generation and 2.)
> > avr6 is available only for 4.2.x at the moment :-(.
> Do you know at what time there is debugging (DWARF2, COFF,..) support
> available?
As a quick work-around, you could try to do the following:

1.) configure the patched gcc 4.2 with "--with-dwarf2 --disable-libssp"
2.) start to compile it with "make all install"
3.) read the error message that is generated. This error message refers to one 
specific line in the file "gcc/gcc/dwarf2out.c" of the gcc sources.
4.) comment out the "assert" statement that generates the problem and that 
checks for stack and arg pointer for stack frame offsets.
5.) again start "make all install"

The stack frame offsets will still be wrong (as they were from the very 
beginning), but at least some part of the debugging should be working.


reply via email to

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