Re: avr-gcc assembler output question
"Christopher X. Candreva" <[email protected]> Sun, 18 Jan 2004 13:45:26 -0500 (EST)
| Newsgroups | gmane.comp.hardware.avr.general |
|---|---|
| Message-ID | <Pine.GSO.4.58.0401181342380.18259@westnet> |
On Sun, 18 Jan 2004, Brian Dean wrote: > This is probably FAQ, but I can't seem to find it. Is there a way to > make gcc (avr-gcc in particular) to output C source as comments > interleaved with the assembler output? I see several options If you compile with debugging symbols, objdump -S will give you the assmebly listing interspersed with the C source. I don't recall if they are commented out. I learned this from Rich Neswold's "A GNU Developemnt Environment for the AVR Microcontroller" -- http://users.rcn.com/rneswold/avr/ ========================================================== Chris Candreva -- [email protected] -- (914) 967-7816 WestNet Internet Services of Westchester http://www.westnet.com/