From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13256 invoked by alias); 27 Jun 2005 19:10:31 -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 13245 invoked by uid 22791); 27 Jun 2005 19:10:24 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 27 Jun 2005 19:10:24 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j5RJAHQ4016135 for ; Mon, 27 Jun 2005 15:10:22 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j5RJAGu17963; Mon, 27 Jun 2005 15:10:17 -0400 Received: from [172.16.24.50] (bluegiant.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id j5RJAFWM008200; Mon, 27 Jun 2005 15:10:15 -0400 Message-ID: <42C04F16.1060105@redhat.com> Date: Mon, 27 Jun 2005 19:10:00 -0000 From: Michael Snyder User-Agent: Mozilla Thunderbird (X11/20050322) MIME-Version: 1.0 To: GDB Patches , Mark Kettenis , drow@false.org Subject: [RFA] Take III: New target am33-linux (mn10300) Content-Type: multipart/mixed; boundary="------------050900070903000703030407" X-SW-Source: 2005-06/txt/msg00369.txt.bz2 This is a multi-part message in MIME format. --------------050900070903000703030407 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 487 Sorry this is dragging on. I'm nursing code I did not write, that was written a long time ago, before a lot of interfaces changed. Some of the new interfaces I'm not familiar with myself. Let's simplify this. Here is the new target, *without* corefile support. This will get the infrastructure into place, including shared libraries, and then I can rework and submit the corefile part separately. Then I won't accidentally overlook the makefile fragment or something next time. --------------050900070903000703030407 Content-Type: text/plain; name="stage1" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="stage1" Content-length: 3097 2005-06-27 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, etc.. Index: configure.tgt =================================================================== RCS file: /cvs/src/src/gdb/configure.tgt,v retrieving revision 1.167 diff -p -r1.167 configure.tgt *** configure.tgt 28 May 2005 22:09:03 -0000 1.167 --- configure.tgt 27 Jun 2005 19:01:55 -0000 *************** *** 11,16 **** --- 11,17 ---- case "${target_cpu}" in alpha*) gdb_target_cpu=alpha ;; + am33_2.0*) gdb_target_cpu=mn10300 ;; arm*) gdb_target_cpu=arm ;; avr*) gdb_target_cpu=avr ;; hppa*) gdb_target_cpu=pa ;; *************** alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu *** 47,52 **** --- 48,56 ---- alpha*-*-openbsd*) gdb_target=nbsd ;; alpha*-*-*) gdb_target=alpha ;; + # mn10300 / am33 liunux + am33_2.0*-*-linux*) gdb_target=linux ;; + arm*-wince-pe) gdb_target=wince ;; arm*-*-linux*) gdb_target=linux build_gdbserver=yes Index: mn10300-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/mn10300-tdep.c,v retrieving revision 1.122 diff -p -r1.122 mn10300-tdep.c *** mn10300-tdep.c 18 Apr 2005 23:14:33 -0000 1.122 --- mn10300-tdep.c 27 Jun 2005 19:01:55 -0000 *************** *** 1,7 **** /* Target-dependent code for the Matsushita MN10300 for GDB, the GNU debugger. ! Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free ! Software Foundation, Inc. This file is part of GDB. --- 1,7 ---- /* Target-dependent code for the Matsushita MN10300 for GDB, the GNU debugger. ! Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 ! Free Software Foundation, Inc. This file is part of GDB. Index: mn10300-tdep.h =================================================================== RCS file: /cvs/src/src/gdb/mn10300-tdep.h,v retrieving revision 1.3 diff -p -r1.3 mn10300-tdep.h *** mn10300-tdep.h 18 Apr 2005 23:14:33 -0000 1.3 --- mn10300-tdep.h 27 Jun 2005 19:01:55 -0000 *************** *** 1,7 **** /* Target-dependent interface for Matsushita MN10300 for GDB, the GNU debugger. ! Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free ! Software Foundation, Inc. This file is part of GDB. --- 1,7 ---- /* Target-dependent interface for Matsushita MN10300 for GDB, the GNU debugger. ! Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 ! Free Software Foundation, Inc. This file is part of GDB. Index: config/mn10300/linux.mt =================================================================== RCS file: config/mn10300/linux.mt diff -N config/mn10300/linux.mt *** /dev/null 1 Jan 1970 00:00:00 -0000 --- config/mn10300/linux.mt 27 Jun 2005 19:01:55 -0000 *************** *** 0 **** --- 1,2 ---- + # Target: Matsushita mn10300 (AM33) running Linux + TDEPFILES= mn10300-tdep.o solib.o solib-svr4.o --------------050900070903000703030407--