avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] debug infos in assembler files


From: Georg-Johann Lay
Subject: Re: [avr-gcc-list] debug infos in assembler files
Date: Mon, 18 Nov 2013 19:34:40 +0100
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

Klaus Rudolph schrieb:
I want to have debug infos in my assembler output files.

I tried with
avr-gcc -Wa,-gstabs,-D -xassembler-with-cpp -mmcu=atmega32 -nostdlib $< -o eins

But if I use:
avr-gdb eins
(gdb) list
1       /tmp/ccUMCsnQ.s: No such file or directory.

Generated s files are temorary files, does -save-temps help?

And which args I have to use if I want a two step assembly/link?
Maybe there is something more different.

To break the build process into several steps, have a look at the -c compiler option (just preprocess, compile and assemble)

Johann




reply via email to

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