[Top][All Lists]

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

Re: [avr-gcc-list] avr-as and debugging symbols

From: Joerg Wunsch
Subject: Re: [avr-gcc-list] avr-as and debugging symbols
Date: Tue, 1 Jul 2003 11:18:11 +0200 (MET DST)

address@hidden wrote:

> 6. Ran simulavr and avr-gb.  No problems except
> that I used:
>     RAMEND = 0x25F
>     SPL = 0x3D
>     SPH = 0x3E
>     tmp = 16

Did you verify (using avr-objdump -G) that there's debugging
information for these in the object file?  I don't know whether GNU as
--gstabs would automatically include these syms.

Nope, it doesn't.  They are in the symtab, but there are no debugging
symbols for them.  So you'd need to declare your own .stabs for them.

> The only thing
> that seemed to work was:
>     gdb> print $16

Which is equivalent to "info reg r16".

J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

reply via email to

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