This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb support for Atmel AVR
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: "Theodore A. Roth" <troth at verinet dot com>
- Cc: Daniel Jacobowitz <drow at mvista dot com>, gdb at sources dot redhat dot com
- Date: Sun, 10 Feb 2002 13:37:51 -0500
- Subject: Re: gdb support for Atmel AVR
- References: <Pine.LNX.4.44.0202091551010.29100-100000@bozoland.mynet>
> <snip>
>
> :)I'd try the above.
>
> I set TARGET_ADDR_BIT to 32 and TARGET_PTR_BIT to 16 and initial testing
> looks like it works. I think had the two swapped when I was playing with
> this months ago.
>
> Now I have avr support with only the following modifications to gdb from
> cvs:
> modify: configure.tgt
> add: avr-tdep.c
> add: config/avr/avr.mt
> add: config/avr/tm-avr.h
>
> This makes me much happier than my previous patch with all the other files
> it touched.
(Unless you've got shared libraries you should be able to zap tm-avr.h
as well.)
The above news is really good. I suspect ``months ago'' all the
framework you needed may not have been in place. Perhaphs also have a
look over the relevant sections of the gdbint.texinfo file - there is
plenty of oportunity there for improvement.
nice,
Andrew