Help needed with sparc
Andrew Cagney
ac131313@cygnus.com
Wed Jan 23 18:26:00 GMT 2002
Yes, but with tweeks:
> Index: gdb/configure.host
> ===================================================================
> RCS file: /cvs/src/src/gdb/configure.host,v
> retrieving revision 1.23
> diff -u -p -r1.23 configure.host
> --- gdb/configure.host 2001/07/10 20:41:54 1.23
> +++ gdb/configure.host 2001/11/18 03:52:47
> @@ -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 ;;
> *) gdb_host_cpu=$host_cpu ;;
>
> @@ -154,6 +154,7 @@ sparc-*-sunos4*) gdb_host=sun4os4 ;;
> sparc-*-sunos5*) gdb_host=sun4sol2 ;;
> sparc-*-*) gdb_host=sun4os4 ;;
> sparc64-*-linux*) gdb_host=linux ;;
> +sparcv9-*-* | \
> sparc64-*-*) gdb_host=sun4sol2 ;;
sparc64-*-* | sparcv9-*-*) ....
> strongarm-*-*) gdb_host=arm ;;
> Index: gdb/configure.tgt
> ===================================================================
> RCS file: /cvs/src/src/gdb/configure.tgt,v
> retrieving revision 1.35
> diff -u -p -r1.35 configure.tgt
> --- gdb/configure.tgt 2001/08/12 03:39:11 1.35
> +++ gdb/configure.tgt 2001/11/18 03:52:47
> @@ -293,6 +293,7 @@ sparc86x-*-*) gdb_target=sparclite ;;
> # deleted though presumably it should be eventually.
> #sparc64-*-solaris2*) gdb_target=sp64sol2 ;;
> sparc64-*-linux*) gdb_target=sp64linux ;;
> +sparcv9-*-* | \
> sparc64-*-*) gdb_target=sp64 ;;
Ditto.
> # OBSOLETE tic80-*-*) gdb_target=tic80
(the patch is very old)
Andrew
More information about the Gdb-patches
mailing list