From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24269 invoked by alias); 23 Jul 2003 18:19:28 -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 24246 invoked from network); 23 Jul 2003 18:19:15 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 23 Jul 2003 18:19:15 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h6NIJFH08857 for ; Wed, 23 Jul 2003 14:19:15 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h6NIJFI04057 for ; Wed, 23 Jul 2003 14:19:15 -0400 Received: from redhat.com (blc.cipe.redhat.com [10.0.2.152]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h6NIJEv23767 for ; Wed, 23 Jul 2003 14:19:14 -0400 Message-ID: <3F1ED2B1.8010503@redhat.com> Date: Wed, 23 Jul 2003 18:19:00 -0000 From: Brendan Conoboy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: small configuration patch to add xscale-linux support Content-Type: multipart/mixed; boundary="------------080902090000010700000301" X-SW-Source: 2003-07/txt/msg00409.txt.bz2 This is a multi-part message in MIME format. --------------080902090000010700000301 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 192 This patch allows one to configure an xscale-linux-gnu gdb (which is essentially the same thing as arm-linux-gnu for gdb, but not for other tools). Works for me. -Brendan (blc@redhat.com) --------------080902090000010700000301 Content-Type: text/plain; name="xscale-linux-config.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xscale-linux-config.patch" Content-length: 1484 ChangeLog: Mon Jul 21 20:10:16 UTC 2003 Brendan Conoboy configure.host: Set gdb_host_cpu=arm when host_cpu=xscale gdbserver/ChangeLog: Mon Jul 21 20:09:34 UTC 2003 Brendan Conoboy configure.srv: Add xscale*linux copy of arm*linux entry. Index: configure.host =================================================================== RCS file: /cvs/src/src/gdb/configure.host,v retrieving revision 1.55 diff -c -r1.55 configure.host *** configure.host 13 Jul 2003 16:15:59 -0000 1.55 --- configure.host 23 Jul 2003 17:46:21 -0000 *************** *** 21,26 **** --- 21,27 ---- s390*) gdb_host_cpu=s390 ;; sh*) gdb_host_cpu=sh ;; x86_64*) gdb_host_cpu=i386 ;; + xscale*) gdb_host_cpu=arm ;; *) gdb_host_cpu=$host_cpu ;; esac Index: gdbserver/configure.srv =================================================================== RCS file: /cvs/src/src/gdb/gdbserver/configure.srv,v retrieving revision 1.6 diff -c -r1.6 configure.srv *** gdbserver/configure.srv 13 Jun 2003 17:49:52 -0000 1.6 --- gdbserver/configure.srv 23 Jul 2003 17:46:21 -0000 *************** *** 64,69 **** --- 64,74 ---- srv_tgtobj="linux-low.o linux-x86-64-low.o i387-fp.o" srv_linux_regsets=yes ;; + xscale*-*-linux*) srv_regobj=reg-arm.o + srv_tgtobj="linux-low.o linux-arm-low.o" + srv_linux_usrregs=yes + srv_linux_thread_db=yes + ;; *) echo "Error: target not supported by gdbserver." exit 1 ;; --------------080902090000010700000301--