This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Help needed with sparc
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: Brad Lucier <lucier at math dot purdue dot edu>, jsturm at one-point dot com, atpoquet at ucdavis dot edu, gcc at gcc dot gnu dot org, gdb-patches at sources dot redhat dot com
- Date: 24 Jan 2002 00:47:46 -0200
- Subject: Re: Help needed with sparc
- Organization: GCC Team, Red Hat
- References: <200201232315.g0NNFw309706@banach.math.purdue.edu><or7kq8cwww.fsf@free.redhat.lsd.ic.unicamp.br><3C4F70BC.6050601@cygnus.com>
On Jan 24, 2002, Andrew Cagney <ac131313@cygnus.com> wrote:
> Yes, but with tweeks:
Thanks for the quick review, here's what I'm checking in. I was not
sure whether you wanted blanks in the first hunk too, and since I
couldn't find other occurrences without blanks, I went ahead and put
them in.
Index: gdb/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* configure.host: Accept sparcv9 as alias for sparc64.
* configure.tgt: Likewise.
Index: gdb/configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.32
diff -u -p -r1.32 configure.host
--- gdb/configure.host 2002/01/20 09:10:27 1.32
+++ gdb/configure.host 2002/01/24 02:45:12
@@ -18,7 +18,7 @@ m68*) gdb_host_cpu=m68k ;;
m88*) gdb_host_cpu=m88k ;;
mips*) gdb_host_cpu=mips ;;
powerpc*) gdb_host_cpu=powerpc ;;
-sparc64) gdb_host_cpu=sparc ;;
+sparcv9 | sparc64) gdb_host_cpu=sparc ;;
s390*) gdb_host_cpu=s390 ;;
x86_64*) gdb_host_cpu=i386 ;;
*) gdb_host_cpu=$host_cpu ;;
@@ -145,7 +145,7 @@ sparc-*-sunos4*) gdb_host=sun4os4 ;;
sparc-*-sunos5*) gdb_host=sun4sol2 ;;
sparc-*-*) gdb_host=sun4os4 ;;
sparc64-*-linux*) gdb_host=linux ;;
-sparc64-*-*) gdb_host=sun4sol2 ;;
+sparcv9-*-* | sparc64-*-*) gdb_host=sun4sol2 ;;
strongarm-*-*) gdb_host=arm ;;
xscale-*-*) gdb_host=arm ;;
Index: gdb/configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.50
diff -u -p -r1.50 configure.tgt
--- gdb/configure.tgt 2002/01/20 09:10:27 1.50
+++ gdb/configure.tgt 2002/01/24 02:45:13
@@ -278,7 +278,7 @@ sparc86x-*-*) gdb_target=sparclite ;;
# deleted though presumably it should be eventually.
#sparc64-*-solaris2*) gdb_target=sp64sol2 ;;
sparc64-*-linux*) gdb_target=sp64linux ;;
-sparc64-*-*) gdb_target=sp64 ;;
+sparcv9-*-* | sparc64-*-*) gdb_target=sp64 ;;
xstormy16-*-*) gdb_target=xstormy16 ;;
> (the patch is very old)
Yes, indeed. I wrote it long ago, but I guess I hadn't posted yet
because I hadn't written a ChangeLog entry. Sorry that the first
patch was missing it.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me