From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4845 invoked by alias); 30 Apr 2005 11:03:38 -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 4774 invoked from network); 30 Apr 2005 11:03:31 -0000 Received: from unknown (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 30 Apr 2005 11:03:31 -0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id j3UB3K8I024366; Sat, 30 Apr 2005 13:03:21 +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 j3UB3KhB019784; Sat, 30 Apr 2005 13:03:20 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j3UB3GRh016441; Sat, 30 Apr 2005 13:03:16 +0200 (CEST) Date: Sat, 30 Apr 2005 11:03:00 -0000 Message-Id: <200504301103.j3UB3GRh016441@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: msnyder@sonic.net CC: gdb-patches@sources.redhat.com In-reply-to: <4272D60B.5050709@sonic.net> (message from Michael Snyder on Fri, 29 Apr 2005 17:49:15 -0700) Subject: Re: [RFA] New target am33-linux (mn10300) References: <4272D60B.5050709@sonic.net> X-SW-Source: 2005-04/txt/msg00445.txt.bz2 Date: Fri, 29 Apr 2005 17:49:15 -0700 From: Michael Snyder This is an embedded linux target for am33 (mn10300). The rest of the toolchain (gcc, binutils) has already been contributed. This bit has been languishing untended for a while. And is well past its "best before" date by now :-(. It uses DEPRECATED_TM_FILE, and we're not allowd to check in anything new that uses it. Unfortunately, this means you can only check this in without working shared library stuff. Personally I think we should allow "DEPRECATED_TM_FILE= solib.h" until the shared libarry stuff is properly fixed. Anyway, you seem to have left out the tm-linux.h that you reference. But what's worse is that this uses deprecated_add_core_fns, for which we have an alternative. Please implement xxx_regset_from_core_section() and the associated register sets. While you're at it, I think it is a good idea to get rid of the ELF_XXX and elf_xxx defines and typedefs you copied from . These tend to leak into the namespace on Linux systems and might cause problems. If you define a sensible register set, you'll only need these constants once, so you don't really need these types. By the time you've done this, I might have eliminated the need fro DEPRECATED_TM_FILE. Mark 2005-04-29 Michael Snyder * mn10300-linux-tdep.c: New file. * Makefile.in: Add rule for mn10300-linux-tdep.o. * configure.tgt: Add rule for am33 / mn10300-linux. * mn10300-tdep.h: Add E_FPCR_REGNUM, E_FS0_REGNUM.