avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] GDB5.0 for avr under linux


From: Jason Kyle
Subject: Re: [avr-gcc-list] GDB5.0 for avr under linux
Date: Sat, 04 Aug 2001 12:37:04 +1200

At 13:23 3/08/2001 +0200, Daniel Quintero wrote:
Hi Karsten

> I successful compiled an tested binutils 2.11 and gcc3.0 for avr under
Linux.
> Now I'm trying to get gdb running. Has somebody experience to compile
> gdb5.0 for target=avr or get gdb4.18 running with gcc3.0 and binutils 2.11
> under Linux.
> Any hint are welcome.

I've moving my avr develop enviroment to linux these days, at this moment is
working gcc3.0, binutils 2.1 and avr-libc-20010701.

I also try to compile gdb5.0 for avr, but seems that isn't supported. There
are some files about avr, but in makefiles i can't found any form to set avr
as target, and in the release changes doesn't appear avr as new platform. I
think that must left some work to use avr in the native distribution.

In other hand, i don't try yet the gdb4.18 with avr patches, is possible
that i try it this weekend. I've also search for a avr simulator under
linux. Have you seen someone ?

To the best of my knowledge the avr patch for gdb4.18 is all there is at the moment. Seem to recall Denis saying he was looking into writing a simulator but as yet I guess there hasn't been sufficient time available, after all he's maintaining the binutils and gcc avr ports already!

Without a simulator gdb can only be used with some debugging code in the AVR program, it uses the SPI port to communicate with a GNU/Linux machine. I believe that AVR studio 4 will have elf support, but that doesn't help those of us who want gdb. The latest AVR devices have JTAG debug/programming interfaces and should mean we can achieve real-time debugging in hardware without an emulator, a worthy goal would be to make this work with gdb. Still would be nice if someone with some spare time would comit to writing an open simulator :) hint hint

gdb4.18 avr patch available from
http://home.overta.ru/~denisc/
Note there is a description on how to use it at http://home.overta.ru/~denisc/gdb/about.txt


Denis, please correct me if i'm wrong.

Cheers,

Jason Kyle




reply via email to

[Prev in Thread] Current Thread [Next in Thread]