[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: Mon, 30 Jun 2003 19:35:44 +0200 (MET DST)

In article <address@hidden> you write:

>Here's some output from "avr-gcc -S -g test.c" that shows
>the syntax I was trying to assemble.

Except of the extraneous line breaks apparently introduced by your
news/mail software, this is supposed to work.  I've successfully used
own .stabs data type definitions like this myself:

.stabs  "unsigned int:t1=r1;0;65535;",128,0,0,0
.stabs  "unsigned char:t2=r2;0;255;",128,0,0,0
.stabs  "unsigned long:t3=r3;0000000000000;0037777777777;",128,0,0,0

        .section .bss
        .global adcptr
        .stabs  "adcptr:G10=*1",32,0,0,0
adcptr: .word   0

In a C context, this would be

int *adcptr;

What's the exact error message you're getting (including the line
number it refers to)?
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]