binutils-gdb/gdb/configure.host

151 lines
4.7 KiB
Plaintext
Raw Normal View History

# Mapping of configurations into GDB host definitions. This is
# invoked from the autoconf generated configure script.
# This file sets the following shell variables:
# gdb_host_cpu generic name of host's CPU
# gdb_host name of GDB host definition to use
# Map host cpu into the config cpu subdirectory name.
# The default is $host_cpu.
case "${host_cpu}" in
alpha*) gdb_host_cpu=alpha ;;
arm*) gdb_host_cpu=arm ;;
hppa*) gdb_host_cpu=pa ;;
i[34567]86*) gdb_host_cpu=i386 ;;
m68*) gdb_host_cpu=m68k ;;
2001-07-11 04:41:54 +08:00
mips*) gdb_host_cpu=mips ;;
powerpc*) gdb_host_cpu=powerpc ;;
sparcv9 | sparc64) gdb_host_cpu=sparc ;;
2001-06-16 03:23:45 +08:00
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
# map host info into gdb names.
case "${host}" in
alpha*-*-osf1*) gdb_host=alpha-osf1 ;;
alpha*-*-osf2*) gdb_host=alpha-osf2 ;;
alpha*-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
alpha*-*-linux*) gdb_host=alpha-linux ;;
alpha*-*-freebsd*) gdb_host=fbsd ;;
alpha*-*-netbsd*) gdb_host=nbsd ;;
arm*-*-linux*) gdb_host=linux ;;
* Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and nbsd-tdep.h to dependency list. * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use nbsdaout.mh and nbsdelf.mh consistently. * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use nbsdaout.mt and nbsdelf.mh consistently. * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move a.out shared library stuff from here... * config/nm-nbsdaout.h: ...to here. * config/tm-nbsd.h: Remove. * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. * config/arm/nbsd.mh: Remove. * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add nbsd-tdep.o. * config/arm/nbsdaout.mh: New file. * config/arm/nbsdelf.mh: New file. * config/arm/nm-nbsdaout.h: New file. * config/i386/nbsd.mh: Remove. * config/i386/nbsd.mt: Remove. * config/i386/nbsdaout.mh: New file. * config/i386/nbsdaout.mt: New file. * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. * config/i386/nm-nbsd.h (REGISTER_U_ADDR, i386_register_u_addr): Remove. * config/i386/nm-nbsdaout.h: New file. * config/i386/nm-nbsdelf.h: Remove. * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. (USE_STRUCT_CONVENTION): Remove. * config/i386/tm-nbsdaout.h: New file. * config/i386/tm-nbsdelf.h: Remove. * config/m68k/nbsd.mh: Remove. * config/m68k/nbsd.mt: Remove. * config/m68k/nbsdaout.mh: New file. * config/m68k/nbsdaout.mt: New file. * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. * config/m68k/nm-nbsdaout.h: New file. * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/ns32k/nbsd.mh: Remove. * config/ns32k/nbsd.mt: Remove. * config/ns32k/nbsdaout.mh: New file. * config/ns32k/nbsdaout.mt: New file. * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. * config/ns32k/nm-nbsdaout.h: New file. * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. (SVR4_SHARED_LIBS): Remove. * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. * config/sparc/nbsd.mh: Remove. * config/sparc/nbsd.mt: Remove. * config/sparc/nbsdaout.mh: New file. * config/sparc/nbsdaout.mt: New file. * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/sparc/nbsdelf.mt: New file. * config/sparc/nm-nbsdaout.h: New file. * config/sparc/nm-nbsdelf.h: Remove. * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. * config/sparc/tm-nbsdaout.h: New file.
2002-05-22 11:59:55 +08:00
arm*-*-netbsdelf*) gdb_host=nbsdelf ;;
arm*-*-netbsd*) gdb_host=nbsdaout ;;
hppa*-*-hiux*) gdb_host=hppahpux ;;
hppa*-*-hpux10.20) gdb_host=hpux1020 ;;
hppa*64*-*-hpux11*) gdb_host=hpux11w ;;
hppa*-*-hpux11*) gdb_host=hpux11 ;;
hppa*-*-hpux*) gdb_host=hppahpux ;;
i[34567]86-ncr-*) gdb_host=ncr3000 ;;
i[34567]86-*-bsd*) gdb_host=i386bsd ;;
i[34567]86-*-dgux*) gdb_host=i386v4 ;;
i[34567]86-*-freebsd*) gdb_host=fbsd ;;
i[34567]86-*-netbsdelf*) gdb_host=nbsdelf ;;
i[34567]86-*-netbsdaout*) gdb_host=nbsdaout ;;
i[34567]86-*-netbsd*) gdb_host=nbsdaout ;;
i[34567]86-*-go32*) gdb_host=go32 ;;
i[34567]86-*-msdosdjgpp*) gdb_host=go32 ;;
i[34567]86-*-linux*) gdb_host=linux ;;
i[34567]86-*-lynxos*) gdb_host=i386lynx ;;
i[34567]86-*-gnu*) gdb_host=i386gnu ;;
i[3456]86-*-nto*) gdb_host=nto ;;
i[34567]86-*-openbsd*) gdb_host=obsd ;;
i[34567]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
i[34567]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
i[34567]86-*-sco*) gdb_host=i386sco ;;
i[34567]86-*-solaris*) gdb_host=i386sol2 ;;
i[34567]86-*-sysv4.2*) gdb_host=i386v42mp ;;
i[34567]86-*-sysv4*) gdb_host=i386v4 ;;
i[34567]86-*-sysv5*) gdb_host=i386v42mp ;;
i[34567]86-*-unixware2*) gdb_host=i386v42mp ;;
i[34567]86-*-unixware*) gdb_host=i386v4 ;;
i[34567]86-*-sysv*) gdb_host=i386v ;;
i[34567]86-*-isc*) gdb_host=i386v ;;
i[34567]86-*-cygwin*) gdb_host=cygwin ;;
2000-03-21 13:26:31 +08:00
2001-03-06 08:52:31 +08:00
ia64-*-aix*) gdb_host=aix ;;
2000-03-21 13:26:31 +08:00
ia64-*-linux*) gdb_host=linux ;;
2003-12-01 Andrew Cagney <cagney@redhat.com> Obsolete old m68k systems. * configure.host: Mark m68*-sun-*, m68*-sun-sunos4*, m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*, m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and m680[01]0-sun-sunos3* as obsolete. * configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*, m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete. * config/m68k/sun3os4.mh: Mark file obsolete. * config/m68k/xm-sun3os4.h: Mark file obsolete. * config/m68k/sun3os3.mh: Mark file obsolete. * config/m68k/nm-sun3.h: Mark file obsolete. * config/m68k/xm-sun3.h: Mark file obsolete. * config/m68k/sun2os4.mh: Mark file obsolete. * config/m68k/sun2os3.mh: Mark file obsolete. * config/m68k/nm-sun2.h: Mark file obsolete. * config/m68k/xm-sun2.h: Mark file obsolete. * config/m68k/m68kv4.mh: Mark file obsolete. * config/m68k/nm-sysv4.h: Mark file obsolete. * config/m68k/xm-m68kv4.h: Mark file obsolete. * config/m68k/m68klynx.mh: Mark file obsolete. * config/m68k/nm-m68klynx.h: Mark file obsolete. * config/m68k/dpx2.mh: Mark file obsolete. * config/m68k/xm-dpx2.h: Mark file obsolete. * config/m68k/nm-dpx2.h: Mark file obsolete. * config/m68k/delta68.mh: Mark file obsolete. * config/m68k/xm-delta68.h: Mark file obsolete. * config/m68k/nm-delta68.h: Mark file obsolete. * config/m68k/3b1.mh: Mark file obsolete. * config/m68k/xm-3b1.h: Mark file obsolete. * config/m68k/sun3os4.mt: Mark file obsolete. * config/m68k/tm-sun3os4.h: Mark file obsolete. * config/m68k/sun3os3.mt: Mark file obsolete. * config/m68k/tm-sun3.h: Mark file obsolete. * config/m68k/sun2os4.mt: Mark file obsolete. * config/m68k/tm-sun2os4.h: Mark file obsolete. * config/m68k/sun2os3.mt: Mark file obsolete. * config/m68k/tm-sun2.h: Mark file obsolete. * config/m68k/m68kv4.mt: Mark file obsolete. * config/m68k/tm-m68kv4.h: Mark file obsolete. * config/m68k/m68klynx.mt: Mark file obsolete. * config/m68k/tm-m68klynx.h: Mark file obsolete. * config/m68k/dpx2.mt: Mark file obsolete. * config/m68k/tm-dpx2.h: Mark file obsolete. * config/m68k/delta68.mt: Mark file obsolete. * config/m68k/tm-delta68.h: Mark file obsolete. * config/m68k/3b1.mt: Mark file obsolete. * config/m68k/tm-3b1.h: Mark file obsolete.
2003-12-01 22:53:42 +08:00
# OBSOLETE m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
# OBSOLETE m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;;
2003-12-01 Andrew Cagney <cagney@redhat.com> Obsolete old m68k systems. * configure.host: Mark m68*-sun-*, m68*-sun-sunos4*, m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*, m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and m680[01]0-sun-sunos3* as obsolete. * configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*, m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete. * config/m68k/sun3os4.mh: Mark file obsolete. * config/m68k/xm-sun3os4.h: Mark file obsolete. * config/m68k/sun3os3.mh: Mark file obsolete. * config/m68k/nm-sun3.h: Mark file obsolete. * config/m68k/xm-sun3.h: Mark file obsolete. * config/m68k/sun2os4.mh: Mark file obsolete. * config/m68k/sun2os3.mh: Mark file obsolete. * config/m68k/nm-sun2.h: Mark file obsolete. * config/m68k/xm-sun2.h: Mark file obsolete. * config/m68k/m68kv4.mh: Mark file obsolete. * config/m68k/nm-sysv4.h: Mark file obsolete. * config/m68k/xm-m68kv4.h: Mark file obsolete. * config/m68k/m68klynx.mh: Mark file obsolete. * config/m68k/nm-m68klynx.h: Mark file obsolete. * config/m68k/dpx2.mh: Mark file obsolete. * config/m68k/xm-dpx2.h: Mark file obsolete. * config/m68k/nm-dpx2.h: Mark file obsolete. * config/m68k/delta68.mh: Mark file obsolete. * config/m68k/xm-delta68.h: Mark file obsolete. * config/m68k/nm-delta68.h: Mark file obsolete. * config/m68k/3b1.mh: Mark file obsolete. * config/m68k/xm-3b1.h: Mark file obsolete. * config/m68k/sun3os4.mt: Mark file obsolete. * config/m68k/tm-sun3os4.h: Mark file obsolete. * config/m68k/sun3os3.mt: Mark file obsolete. * config/m68k/tm-sun3.h: Mark file obsolete. * config/m68k/sun2os4.mt: Mark file obsolete. * config/m68k/tm-sun2os4.h: Mark file obsolete. * config/m68k/sun2os3.mt: Mark file obsolete. * config/m68k/tm-sun2.h: Mark file obsolete. * config/m68k/m68kv4.mt: Mark file obsolete. * config/m68k/tm-m68kv4.h: Mark file obsolete. * config/m68k/m68klynx.mt: Mark file obsolete. * config/m68k/tm-m68klynx.h: Mark file obsolete. * config/m68k/dpx2.mt: Mark file obsolete. * config/m68k/tm-dpx2.h: Mark file obsolete. * config/m68k/delta68.mt: Mark file obsolete. * config/m68k/tm-delta68.h: Mark file obsolete. * config/m68k/3b1.mt: Mark file obsolete. * config/m68k/tm-3b1.h: Mark file obsolete.
2003-12-01 22:53:42 +08:00
# OBSOLETE m68*-att-*) gdb_host=3b1 ;;
# OBSOLETE m68*-bull*-sysv*) gdb_host=dpx2 ;;
m68*-*-linux*) gdb_host=linux ;;
2003-12-01 Andrew Cagney <cagney@redhat.com> Obsolete old m68k systems. * configure.host: Mark m68*-sun-*, m68*-sun-sunos4*, m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*, m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and m680[01]0-sun-sunos3* as obsolete. * configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*, m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete. * config/m68k/sun3os4.mh: Mark file obsolete. * config/m68k/xm-sun3os4.h: Mark file obsolete. * config/m68k/sun3os3.mh: Mark file obsolete. * config/m68k/nm-sun3.h: Mark file obsolete. * config/m68k/xm-sun3.h: Mark file obsolete. * config/m68k/sun2os4.mh: Mark file obsolete. * config/m68k/sun2os3.mh: Mark file obsolete. * config/m68k/nm-sun2.h: Mark file obsolete. * config/m68k/xm-sun2.h: Mark file obsolete. * config/m68k/m68kv4.mh: Mark file obsolete. * config/m68k/nm-sysv4.h: Mark file obsolete. * config/m68k/xm-m68kv4.h: Mark file obsolete. * config/m68k/m68klynx.mh: Mark file obsolete. * config/m68k/nm-m68klynx.h: Mark file obsolete. * config/m68k/dpx2.mh: Mark file obsolete. * config/m68k/xm-dpx2.h: Mark file obsolete. * config/m68k/nm-dpx2.h: Mark file obsolete. * config/m68k/delta68.mh: Mark file obsolete. * config/m68k/xm-delta68.h: Mark file obsolete. * config/m68k/nm-delta68.h: Mark file obsolete. * config/m68k/3b1.mh: Mark file obsolete. * config/m68k/xm-3b1.h: Mark file obsolete. * config/m68k/sun3os4.mt: Mark file obsolete. * config/m68k/tm-sun3os4.h: Mark file obsolete. * config/m68k/sun3os3.mt: Mark file obsolete. * config/m68k/tm-sun3.h: Mark file obsolete. * config/m68k/sun2os4.mt: Mark file obsolete. * config/m68k/tm-sun2os4.h: Mark file obsolete. * config/m68k/sun2os3.mt: Mark file obsolete. * config/m68k/tm-sun2.h: Mark file obsolete. * config/m68k/m68kv4.mt: Mark file obsolete. * config/m68k/tm-m68kv4.h: Mark file obsolete. * config/m68k/m68klynx.mt: Mark file obsolete. * config/m68k/tm-m68klynx.h: Mark file obsolete. * config/m68k/dpx2.mt: Mark file obsolete. * config/m68k/tm-dpx2.h: Mark file obsolete. * config/m68k/delta68.mt: Mark file obsolete. * config/m68k/tm-delta68.h: Mark file obsolete. * config/m68k/3b1.mt: Mark file obsolete. * config/m68k/tm-3b1.h: Mark file obsolete.
2003-12-01 22:53:42 +08:00
# OBSOLETE m68*-*-lynxos*) gdb_host=m68klynx ;;
* Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and nbsd-tdep.h to dependency list. * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use nbsdaout.mh and nbsdelf.mh consistently. * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use nbsdaout.mt and nbsdelf.mh consistently. * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move a.out shared library stuff from here... * config/nm-nbsdaout.h: ...to here. * config/tm-nbsd.h: Remove. * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. * config/arm/nbsd.mh: Remove. * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add nbsd-tdep.o. * config/arm/nbsdaout.mh: New file. * config/arm/nbsdelf.mh: New file. * config/arm/nm-nbsdaout.h: New file. * config/i386/nbsd.mh: Remove. * config/i386/nbsd.mt: Remove. * config/i386/nbsdaout.mh: New file. * config/i386/nbsdaout.mt: New file. * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. * config/i386/nm-nbsd.h (REGISTER_U_ADDR, i386_register_u_addr): Remove. * config/i386/nm-nbsdaout.h: New file. * config/i386/nm-nbsdelf.h: Remove. * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. (USE_STRUCT_CONVENTION): Remove. * config/i386/tm-nbsdaout.h: New file. * config/i386/tm-nbsdelf.h: Remove. * config/m68k/nbsd.mh: Remove. * config/m68k/nbsd.mt: Remove. * config/m68k/nbsdaout.mh: New file. * config/m68k/nbsdaout.mt: New file. * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. * config/m68k/nm-nbsdaout.h: New file. * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/ns32k/nbsd.mh: Remove. * config/ns32k/nbsd.mt: Remove. * config/ns32k/nbsdaout.mh: New file. * config/ns32k/nbsdaout.mt: New file. * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. * config/ns32k/nm-nbsdaout.h: New file. * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. (SVR4_SHARED_LIBS): Remove. * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. * config/sparc/nbsd.mh: Remove. * config/sparc/nbsd.mt: Remove. * config/sparc/nbsdaout.mh: New file. * config/sparc/nbsdaout.mt: New file. * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/sparc/nbsdelf.mt: New file. * config/sparc/nm-nbsdaout.h: New file. * config/sparc/nm-nbsdelf.h: Remove. * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. * config/sparc/tm-nbsdaout.h: New file.
2002-05-22 11:59:55 +08:00
m68*-*-netbsd*) gdb_host=nbsdaout ;;
2003-12-01 Andrew Cagney <cagney@redhat.com> Obsolete old m68k systems. * configure.host: Mark m68*-sun-*, m68*-sun-sunos4*, m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*, m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and m680[01]0-sun-sunos3* as obsolete. * configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*, m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*, m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete. * config/m68k/sun3os4.mh: Mark file obsolete. * config/m68k/xm-sun3os4.h: Mark file obsolete. * config/m68k/sun3os3.mh: Mark file obsolete. * config/m68k/nm-sun3.h: Mark file obsolete. * config/m68k/xm-sun3.h: Mark file obsolete. * config/m68k/sun2os4.mh: Mark file obsolete. * config/m68k/sun2os3.mh: Mark file obsolete. * config/m68k/nm-sun2.h: Mark file obsolete. * config/m68k/xm-sun2.h: Mark file obsolete. * config/m68k/m68kv4.mh: Mark file obsolete. * config/m68k/nm-sysv4.h: Mark file obsolete. * config/m68k/xm-m68kv4.h: Mark file obsolete. * config/m68k/m68klynx.mh: Mark file obsolete. * config/m68k/nm-m68klynx.h: Mark file obsolete. * config/m68k/dpx2.mh: Mark file obsolete. * config/m68k/xm-dpx2.h: Mark file obsolete. * config/m68k/nm-dpx2.h: Mark file obsolete. * config/m68k/delta68.mh: Mark file obsolete. * config/m68k/xm-delta68.h: Mark file obsolete. * config/m68k/nm-delta68.h: Mark file obsolete. * config/m68k/3b1.mh: Mark file obsolete. * config/m68k/xm-3b1.h: Mark file obsolete. * config/m68k/sun3os4.mt: Mark file obsolete. * config/m68k/tm-sun3os4.h: Mark file obsolete. * config/m68k/sun3os3.mt: Mark file obsolete. * config/m68k/tm-sun3.h: Mark file obsolete. * config/m68k/sun2os4.mt: Mark file obsolete. * config/m68k/tm-sun2os4.h: Mark file obsolete. * config/m68k/sun2os3.mt: Mark file obsolete. * config/m68k/tm-sun2.h: Mark file obsolete. * config/m68k/m68kv4.mt: Mark file obsolete. * config/m68k/tm-m68kv4.h: Mark file obsolete. * config/m68k/m68klynx.mt: Mark file obsolete. * config/m68k/tm-m68klynx.h: Mark file obsolete. * config/m68k/dpx2.mt: Mark file obsolete. * config/m68k/tm-dpx2.h: Mark file obsolete. * config/m68k/delta68.mt: Mark file obsolete. * config/m68k/tm-delta68.h: Mark file obsolete. * config/m68k/3b1.mt: Mark file obsolete. * config/m68k/tm-3b1.h: Mark file obsolete.
2003-12-01 22:53:42 +08:00
# OBSOLETE m68*-*-sysv4*) gdb_host=m68kv4 ;;
# OBSOLETE m68*-motorola-*) gdb_host=delta68 ;;
# OBSOLETE m68*-sun-sunos3*) gdb_host=sun3os3 ;;
# OBSOLETE m68*-sun-sunos4*) gdb_host=sun3os4 ;;
# OBSOLETE m68*-sun-*) gdb_host=sun3os4 ;;
# OBSOLETE mips-dec-*) gdb_host=decstation ;;
# OBSOLETE mips-little-*) gdb_host=littlemips ;;
mips-sgi-irix5*) gdb_host=irix5 ;;
mips-sgi-irix6*) gdb_host=irix6 ;;
# OBSOLETE mips-sony-*) gdb_host=news-mips ;;
2001-07-11 04:41:54 +08:00
mips*-*-linux*) gdb_host=linux ;;
mips*-*-netbsd*) gdb_host=nbsd ;;
# OBSOLETE mips-*-mach3*) gdb_host=mipsm3 ;;
# OBSOLETE mips-*-sysv4*) gdb_host=mipsv4 ;;
# OBSOLETE mips-*-sysv*) gdb_host=riscos ;;
# OBSOLETE mips-*-riscos*) gdb_host=riscos ;;
none-*-*) gdb_host=none ;;
* Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and nbsd-tdep.h to dependency list. * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use nbsdaout.mh and nbsdelf.mh consistently. * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use nbsdaout.mt and nbsdelf.mh consistently. * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move a.out shared library stuff from here... * config/nm-nbsdaout.h: ...to here. * config/tm-nbsd.h: Remove. * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. * config/arm/nbsd.mh: Remove. * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add nbsd-tdep.o. * config/arm/nbsdaout.mh: New file. * config/arm/nbsdelf.mh: New file. * config/arm/nm-nbsdaout.h: New file. * config/i386/nbsd.mh: Remove. * config/i386/nbsd.mt: Remove. * config/i386/nbsdaout.mh: New file. * config/i386/nbsdaout.mt: New file. * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. * config/i386/nm-nbsd.h (REGISTER_U_ADDR, i386_register_u_addr): Remove. * config/i386/nm-nbsdaout.h: New file. * config/i386/nm-nbsdelf.h: Remove. * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. (USE_STRUCT_CONVENTION): Remove. * config/i386/tm-nbsdaout.h: New file. * config/i386/tm-nbsdelf.h: Remove. * config/m68k/nbsd.mh: Remove. * config/m68k/nbsd.mt: Remove. * config/m68k/nbsdaout.mh: New file. * config/m68k/nbsdaout.mt: New file. * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. * config/m68k/nm-nbsdaout.h: New file. * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/ns32k/nbsd.mh: Remove. * config/ns32k/nbsd.mt: Remove. * config/ns32k/nbsdaout.mh: New file. * config/ns32k/nbsdaout.mt: New file. * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. * config/ns32k/nm-nbsdaout.h: New file. * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. (SVR4_SHARED_LIBS): Remove. * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. * config/sparc/nbsd.mh: Remove. * config/sparc/nbsd.mt: Remove. * config/sparc/nbsdaout.mh: New file. * config/sparc/nbsdaout.mt: New file. * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/sparc/nbsdelf.mt: New file. * config/sparc/nm-nbsdaout.h: New file. * config/sparc/nm-nbsdelf.h: Remove. * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. * config/sparc/tm-nbsdaout.h: New file.
2002-05-22 11:59:55 +08:00
ns32k-*-netbsd*) gdb_host=nbsdaout ;;
powerpc-*-aix3*) gdb_host=aix ;;
powerpc-*-aix4.[0-2]*) gdb_host=aix ;;
powerpc-*-aix4.3.[0-1]*) gdb_host=aix ;;
powerpc-*-aix*) gdb_host=aix432 ;;
powerpc-*-linux*) gdb_host=linux ;;
powerpc-*-netbsd*) gdb_host=nbsd ;;
powerpc64-*-linux*) gdb_host=ppc64-linux ;;
rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
rs6000-*-aix4*) gdb_host=aix4 ;;
rs6000-*-*) gdb_host=rs6000 ;;
2001-06-16 03:23:45 +08:00
s390*-*-*) gdb_host=s390 ;;
sh*-*-netbsdelf*) gdb_host=nbsd ;;
sparc-*-linux*) gdb_host=linux ;;
sparc-*-lynxos*) gdb_host=sparclynx ;;
sparc-*-netbsdelf*) gdb_host=nbsdelf ;;
* Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and nbsd-tdep.h to dependency list. * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use nbsdaout.mh and nbsdelf.mh consistently. * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use nbsdaout.mt and nbsdelf.mh consistently. * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move a.out shared library stuff from here... * config/nm-nbsdaout.h: ...to here. * config/tm-nbsd.h: Remove. * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. * config/arm/nbsd.mh: Remove. * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add nbsd-tdep.o. * config/arm/nbsdaout.mh: New file. * config/arm/nbsdelf.mh: New file. * config/arm/nm-nbsdaout.h: New file. * config/i386/nbsd.mh: Remove. * config/i386/nbsd.mt: Remove. * config/i386/nbsdaout.mh: New file. * config/i386/nbsdaout.mt: New file. * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. * config/i386/nm-nbsd.h (REGISTER_U_ADDR, i386_register_u_addr): Remove. * config/i386/nm-nbsdaout.h: New file. * config/i386/nm-nbsdelf.h: Remove. * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. (USE_STRUCT_CONVENTION): Remove. * config/i386/tm-nbsdaout.h: New file. * config/i386/tm-nbsdelf.h: Remove. * config/m68k/nbsd.mh: Remove. * config/m68k/nbsd.mt: Remove. * config/m68k/nbsdaout.mh: New file. * config/m68k/nbsdaout.mt: New file. * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. * config/m68k/nm-nbsdaout.h: New file. * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/ns32k/nbsd.mh: Remove. * config/ns32k/nbsd.mt: Remove. * config/ns32k/nbsdaout.mh: New file. * config/ns32k/nbsdaout.mt: New file. * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. * config/ns32k/nm-nbsdaout.h: New file. * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. (SVR4_SHARED_LIBS): Remove. * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. * config/sparc/nbsd.mh: Remove. * config/sparc/nbsd.mt: Remove. * config/sparc/nbsdaout.mh: New file. * config/sparc/nbsdaout.mt: New file. * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/sparc/nbsdelf.mt: New file. * config/sparc/nm-nbsdaout.h: New file. * config/sparc/nm-nbsdelf.h: Remove. * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. * config/sparc/tm-nbsdaout.h: New file.
2002-05-22 11:59:55 +08:00
sparc-*-netbsdaout*) gdb_host=nbsdaout ;;
sparc-*-netbsd*) gdb_host=nbsdaout ;;
sparc-*-solaris2*) gdb_host=sun4sol2 ;;
sparc-*-sunos4*) gdb_host=sun4os4 ;;
sparc-*-sunos5*) gdb_host=sun4sol2 ;;
sparc-*-*) gdb_host=sun4os4 ;;
sparc64-*-freebsd*|ultrasparc-*-freebsd*|sparcv9-*-freebsd*)
gdb_host=fbsd ;;
sparc64-*-linux*) gdb_host=linux ;;
sparc64-*-netbsd*) gdb_host=nbsd64 ;;
sparcv9-*-* | sparc64-*-*) gdb_host=sun4sol2 ;;
vax-*-bsd*) gdb_host=vaxbsd ;;
vax-*-ultrix2*) gdb_host=vaxult2 ;;
vax-*-ultrix*) gdb_host=vaxult ;;
x86_64-*-linux*) gdb_host=x86-64linux ;;
x86_64-*-freebsd*) gdb_host=fbsd64 ;;
x86_64-*-netbsd*) gdb_host=nbsd64 ;;
esac