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

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

[avr-gcc-list] AVR-GDB for ATmega256x


From: Joerg Wunsch
Subject: [avr-gcc-list] AVR-GDB for ATmega256x
Date: Sat, 30 Sep 2006 23:56:38 +0200
User-agent: Mutt/1.5.11

Björn Haase's (and Bernd Trog's) patches for the ATmega256x still left
out AVR-GDB.  I tried to add support for ATmega256x in my latest
FreeBSD port of AVR-GDB.  For one part, this meant to apply the
binutils patches to those GNU binutils subdirectories that are present
in a GDB source tree.  The other part of the job was to teach GDB to
distinguish between devices with 2-byte PCs and those with 3-byte PCs.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gdb/files/patch-atmega256x-gdb

I can at least get a stack trace in the same quality as it used to be
for other AVRs.  Depending on the context, GDB sometimes doesn't
really figure out the stack frames, and gets the display wrong, but
unlike without the patch, at least the simple cases are now covered
correctly.

If nobody tells me about complete failures, deleted hard drives, AVRs
gone up in smoke or such, I intend to submit that patch to the GDB
project for inclusion.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)





reply via email to

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