From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8301 invoked by alias); 10 Feb 2002 18:38:02 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 8188 invoked from network); 10 Feb 2002 18:38:00 -0000 Received: from unknown (HELO localhost.redhat.com) (24.114.26.18) by sources.redhat.com with SMTP; 10 Feb 2002 18:38:00 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 681D43CA0; Sun, 10 Feb 2002 13:37:51 -0500 (EST) Message-ID: <3C66BDFF.7060900@cygnus.com> Date: Sun, 10 Feb 2002 10:38:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: "Theodore A. Roth" Cc: Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: gdb support for Atmel AVR References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00172.txt.bz2 > > > :)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