debug infos in assembler files

"Klaus Rudolph" <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <trinity-d065f71d-bcdc-4bbe-89ac-c8689a692e81-1384796469882@3capp-gmx-bs24>
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.


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



gcc version: 4.8.2
gdb version: 7.6.1


Thanks
 Klaus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.