Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: New Release - Visual Disassembler for the Atmel AVR

2009-03-09 by David Kelly

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.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.