[Top][All Lists]

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

Re: [avr-gcc-list] debugging information in assembler file for gdb/ddd

From: Klaus Rudolph
Subject: Re: [avr-gcc-list] debugging information in assembler file for gdb/ddd
Date: Tue, 12 Mar 2002 22:34:32 +0100

>> i use the simulavr in combination with the avr-gdb 5.1 with patch and the
>> ddd gui.
>> For c-sources all is really fine, but for assembler projects i can't get the
>> debug information
>> in the objectfile. I "compile" it with
>> avr-gcc -xassembler-with-cpp -g file1.s -o test.o
>> There file1.s include some other assembler files.
>> Is there an additional option for the compiler to create the debug infos?
>> I see the function names in the dissassemblerlisting but can't get the
>> sourcefiles.
>> After loading, gdb says:
>> (no debugging symbols found)...0x00000000 in ?? ()
>> Any ideas?

> Pieter Conradie wrote:
> Unfortunately I am still working in Windoze and use the AVR Freaks Makefile
> format, but the command line option added to the Makefile may be the same:
> #assembler flags
>         ASFLAGS = -Wa,--gstabs,-D
> See if that helps.

This is absolutly what i searched for! Thanks very much.
avr-gcc-list at http://avr1.org

reply via email to

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