Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Brendan Conoboy <blc@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: small configuration patch to add xscale-linux support
Date: Wed, 23 Jul 2003 18:19:00 -0000	[thread overview]
Message-ID: <3F1ED2B1.8010503@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

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)

[-- Attachment #2: xscale-linux-config.patch --]
[-- Type: text/plain, Size: 1484 bytes --]

ChangeLog:
Mon Jul 21 20:10:16 UTC 2003  Brendan Conoboy  <blc@redhat.com>

        configure.host: Set gdb_host_cpu=arm when host_cpu=xscale

gdbserver/ChangeLog:
Mon Jul 21 20:09:34 UTC 2003  Brendan Conoboy  <blc@redhat.com>

        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
  			;;

             reply	other threads:[~2003-07-23 18:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-23 18:19 Brendan Conoboy [this message]
2003-07-23 21:06 ` Kevin Buettner
2003-07-23 21:46   ` Andrew Cagney
2003-08-08  0:48   ` Brendan Conoboy
2003-09-05 10:17 ` Richard Earnshaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F1ED2B1.8010503@redhat.com \
    --to=blc@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox