On Mon, Mar 09, 2009 at 05:11:39AM -0700, David Appleton wrote:
> I think this'd be a good tool to have!
>
>
> John,
>
> Does AVR Studio really disassemble, hex to C ?!
>
> Will it work for GCC?
>
> I'd love to have that ability.
You already have avr-objdump which does a good (if not perfect) job.
Just add this to your Makefile (if you use make):
.elf.list:
avr-objdump -DS $< > $@
And add a .list target to your build target:
all: object.elf object.list
And every time you build successfully there will be a .list disassembly
waiting for you.
--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.