configure.host; Was: [RFA]: x86_64 target files
Andrew Cagney
ac131313@cygnus.com
Thu Aug 9 23:25:00 GMT 2001
> * configure.host: Recognize x86_64-*-linux*.
Could I suggest also mentioning the x86_64 -> i386 map in the change log
entry.
> * config/i386/nm-x86_64.h: New file.
configure.host and and */*/*.mh go hand in hand. Since LINUX isn't the
only OS out there, I think a more specific name for this file is needed.
Keep an eye on XM_FILE, you may eventually be able to delete it.
Andrew
> *** configure.host 2001/07/10 20:41:54 1.23
> --- configure.host 2001/08/02 07:38:37
> *************** mips*) gdb_host_cpu=mips ;;
> *** 20,25 ****
> --- 20,26 ----
> powerpc*) gdb_host_cpu=powerpc ;;
> sparc64) gdb_host_cpu=sparc ;;
> s390*) gdb_host_cpu=s390 ;;
> + x86_64*) gdb_host_cpu=i386 ;;
> *) gdb_host_cpu=$host_cpu ;;
>
> esac
> *************** xscale-*-*) gdb_host=arm ;;
> *** 162,166 ****
> --- 163,169 ----
> vax-*-bsd*) gdb_host=vaxbsd ;;
> vax-*-ultrix2*) gdb_host=vaxult2 ;;
> vax-*-ultrix*) gdb_host=vaxult ;;
> +
> + x86_64-*-linux*) gdb_host=x86_64 ;;
>
> esac
>
> Index: config/i386/x86_64.mh
> ===================================================================
> RCS file: x86_64.mh
> diff -N x86_64.mh
> *** /dev/null Tue May 5 13:32:27 1998
> --- x86_64.mh Thu Aug 2 00:38:41 2001
> ***************
> *** 0 ****
> --- 1,11 ----
> + # Host: AMD x86-64 running GNU/Linux
> +
> + XM_FILE= xm-x86_64.h
> + XDEPFILES=
> +
> + NAT_FILE= nm-x86_64.h
> + NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o \
> + core-aout.o x86_64-nat.o x86_64-linux-nat.o i387-nat.o \
> + proc-service.o thread-db.o lin-lwp.o
> +
> + LOADLIBES = -ldl -rdynamic
>
More information about the Gdb-patches
mailing list