From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31104 invoked by alias); 3 Sep 2005 10:03:54 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31091 invoked by uid 22791); 3 Sep 2005 10:03:47 -0000 Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 03 Sep 2005 10:03:47 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id j83A3X1w002106; Sat, 3 Sep 2005 12:03:33 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id j83A3VGU007975; Sat, 3 Sep 2005 12:03:31 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j83A3UQ2009709; Sat, 3 Sep 2005 12:03:30 +0200 (CEST) Date: Sat, 03 Sep 2005 10:03:00 -0000 Message-Id: <200509031003.j83A3UQ2009709@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: kevinb@redhat.com CC: gdb-patches@sources.redhat.com In-reply-to: <20050902183118.05e24025@ironwood.lan> (message from Kevin Buettner on Fri, 2 Sep 2005 18:31:18 -0700) Subject: Re: [rfc] mn10300: Add am33 support References: <20050902183118.05e24025@ironwood.lan> X-SW-Source: 2005-09/txt/msg00021.txt.bz2 > Date: Fri, 2 Sep 2005 18:31:18 -0700 > From: Kevin Buettner > > The following patch adds am33 support to mn10300-tdep.c. > > This code has various authors. I believe that Andrew Cagney, Jackie > Smith Cashion, Alex Oliva, and myself all had a hand in writing bits > of it. All of the above authors are (or were at the time the code was > written) covered by Red Hat's copyright assignment. > > Comments? > > * mn10300-tdep.c (am33_2_register_name): New function. > (my_frame_is_in_sp, my_frame_is_in_fp, my_frame_is_last) > (set_my_stack_size): Delete. > (set_movm_offsets, set_reg_offsets): Rename the former to the > latter. Update for handling am33. > (mn10300_analyze_prologue): Update for handling am33. Also, make > minor improvements in quality of prologue analysis. > (mn10300_gdbarch_init): Add am33 support. > * mn10300-tdep.h (E_NUM_REGS): Delete. > Please use safe_frame_unwind_memory instead of deprecated_read_memory_nobpt. Otherwise this looks ok. Cheers, Mark