hppa*-*-hpux* | \
ia64-*-hpux* | \
*-*-vxworks* | \
+ mt-*-* | \
null)
echo "*** Configuration $targ is obsolete." >&2
echo "*** Support has been REMOVED." >&2
;;
esac
-i386_tobjs="i386-tdep.o arch/i386.o i387-tdep.o"
-amd64_tobjs="amd64-tdep.o arch/amd64.o"
+x86_tobjs="x86-tdep.o"
+i386_tobjs="i386-tdep.o arch/i386.o i387-tdep.o ${x86_tobjs}"
+amd64_tobjs="amd64-tdep.o arch/amd64.o ${x86_tobjs}"
# Here are three sections to get a list of target specific object
# files according to target triplet $TARG.
case "${targ}" in
aarch64*-*-*)
- cpu_obs="aarch64-tdep.o aarch64-insn.o";;
+ cpu_obs="aarch64-tdep.o arch/aarch64-insn.o arch/aarch64.o";;
alpha*-*-*)
# Target: Alpha
;;
arm*-*-*)
- cpu_obs="arm.o arm-get-next-pcs.o arm-tdep.o";;
+ cpu_obs="arch/arm.o arch/arm-get-next-pcs.o arm-tdep.o";;
hppa*-*-*)
# Target: HP PA-RISC
aarch64*-*-linux*)
# Target: AArch64 linux
- gdb_target_obs="aarch64-linux-tdep.o \
- arm.o arm-linux.o arm-get-next-pcs.o arm-tdep.o \
- arm-linux-tdep.o \
+ gdb_target_obs="aarch64-linux-tdep.o arch/aarch64.o\
+ arch/arm.o arch/arm-linux.o arch/arm-get-next-pcs.o \
+ arm-tdep.o arm-linux-tdep.o \
glibc-tdep.o linux-tdep.o solib-svr4.o \
symfile-mem.o linux-record.o"
build_gdbserver=yes
;;
arm*-*-linux*)
# Target: ARM based machine running GNU/Linux
- gdb_target_obs="arm-linux.o arm-linux-tdep.o glibc-tdep.o \
+ gdb_target_obs="arch/arm-linux.o arm-linux-tdep.o glibc-tdep.o \
solib-svr4.o symfile-mem.o linux-tdep.o linux-record.o"
build_gdbserver=yes
;;
+arm*-*-freebsd*)
+ # Target: FreeBSD/arm
+ gdb_target_obs="arm-fbsd-tdep.o"
+ ;;
arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
# Target: NetBSD/arm
gdb_target_obs="arm-nbsd-tdep.o"
gdb_target_obs="m68k-tdep.o m68k-bsd-tdep.o"
;;
-m88*-*-openbsd*)
- # Target: OpenBSD/m88k
- gdb_target_obs="m88k-tdep.o"
- ;;
-
mep-*-*)
# Target: Toshiba Media Processor (MEP)
gdb_target_obs="mep-tdep.o"
gdb_sim=../sim/msp430/libsim.a
;;
-mt-*-*)
- # Target: Morpho Technologies ms1 processor
- gdb_target_obs="mt-tdep.o"
- ;;
-
nds32*-*-elf)
# Target: AndesTech NDS32 core
gdb_target_obs="nds32-tdep.o"
gdb_target_obs="nios2-tdep.o"
;;
+or1k-*-* | or1knd-*-*)
+ # Target: OpenCores OpenRISC 1000 32-bit implementation bare metal
+ gdb_target_obs="or1k-tdep.o"
+ gdb_sim=../sim/or1k/libsim.a
+ ;;
+
powerpc*-*-freebsd*)
# Target: FreeBSD/powerpc
gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppc64-tdep.o \
s390*-*-linux*)
# Target: S390 running Linux
- gdb_target_obs="s390-linux-tdep.o solib-svr4.o linux-tdep.o \
- linux-record.o"
+ gdb_target_obs="s390-linux-tdep.o s390-tdep.o solib-svr4.o \
+ linux-tdep.o linux-record.o symfile-mem.o"
build_gdbserver=yes
;;
+riscv*-*-*)
+ # Target: RISC-V architecture
+ gdb_target_obs="riscv-tdep.o"
+ ;;
+
rl78-*-elf)
# Target: Renesas rl78
gdb_target_obs="rl78-tdep.o"
sh*-*-linux*)
# Target: GNU/Linux Super-H
- gdb_target_obs="sh-tdep.o sh64-tdep.o sh-linux-tdep.o \
+ gdb_target_obs="sh-tdep.o sh-linux-tdep.o \
solib-svr4.o symfile-mem.o \
glibc-tdep.o linux-tdep.o"
gdb_sim=../sim/sh/libsim.a
;;
sh*-*-openbsd*)
# Target: OpenBSD/sh
- gdb_target_obs="sh-tdep.o sh64-tdep.o sh-nbsd-tdep.o"
- ;;
-sh64-*-elf*)
- # Target: Renesas/Super-H 64 bit with simulator
- gdb_target_obs="sh-tdep.o sh64-tdep.o"
- gdb_sim=../sim/sh64/libsim.a
+ gdb_target_obs="sh-tdep.o sh-nbsd-tdep.o"
;;
sh*)
# Target: Embedded Renesas Super-H processor
- gdb_target_obs="sh-tdep.o sh64-tdep.o"
+ gdb_target_obs="sh-tdep.o"
gdb_sim=../sim/sh/libsim.a
;;