[Avrora] [PATCH] workaround for objdump 2.16.1 bug (resend)

Benjamin Titzer titzer at CS.UCLA.EDU
Fri Feb 16 10:23:42 PST 2007


On Thu, 15 Feb 2007, Timo Juhani Lindfors wrote:

> (Resending since the mailing list archive at
> http://lists.ucla.edu/pipermail/avrora/2007-February/000556.html does
> not seem to like GPG signatures. Apologies if you get to read this
> mail twice.)
>
>
> Hi,
>
> I've found avrora very useful in simulating AVR programs used on a
> university course (I first tried simulavr but it didn't seem to
> support atmega32's timers).
>
> avr-objdump 2.16.1 (in debian unstable) has a funny bug: If the binary
> has no debugging symbols it prefixes all addresses with "0x0x" instead
> of "0x":
>

I committed a fix for the problem that is along those lines, along with 
some minor refactorings to this code. Please check out the new version 
(1.7.74) and check that this fixes the issue.

> P.S. I'm happy to report that at least the command line usage of
> avrora works fine with GNU classpath [1] cvs head (without any
> proprietary stuff from Sun). Latest release won't work though since it
> doesn't include support for generics yet.
>
> [1] http://www.gnu.org/software/classpath/

That is good to hear. Avrora 1.7.x should also work then; the Java 1.5 
stuff is only necessary to the jintgen module--i.e. "make avrora" should 
only compile the Avrora source, which is all 1.4 compatible.

No one really appears to be using the GUI functionality, and it probably 
isn't worth maintaining. There are some excellent visualization and 
graphing tools out there anyway, and Avrora could probably just hook up as 
a backend to those.

-B


More information about the Avrora mailing list