[Top][All Lists]

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

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

From: Mark P Anderson
Subject: [avr-gcc-list] avr-as and debugging symbols
Date: Fri, 27 Jun 2003 12:48:58 -0400

Avr-as appears to have a command line option called --gstabs that is supposed
to include debugging information in the symbol table. This information is placed
in the .stabs and associated assembler pseudo-ops. I'm able to use this feature
to a certain extent, simple labels for variables and function names. However,
when I try to put in something complicated the information does not seem to appear in the symbol table or else I get an assembler error.

I was trying to create definitions similar to that which avr-gcc outputs of the form:

.stabs "typedef char t:...",234,....

Anytime I have a space in the name field I get an error.

What options does avr-gcc invoke avr-as with? Evidently avr-gcc can get avr-as
to assemble such statements because I can build an executable using avr-gcc -g.
But when I use the standard tools to look for this avr-gcc debugging information I
can't locate it. I've tried using:


Where does this information get placed?

Does avr-gcc/avr-as support debugging at all?

I need this information because I am building an AVR simulator and symbolic
debugger to run under Linux since I can't get AVR Studio to behave. I'd like to
be able to support avr-gcc also but the lack of information is making it difficult.

mark anderson

This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.

reply via email to

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