aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2018-08-09 13:37:45 -0700
committerJim Wilson <jimw@sifive.com>2018-08-09 13:37:45 -0700
commit52a187f8e78eeaefa38bdaff04aae1fd9a69d788 (patch)
treec3a81572d197349bd650153e2b01a3a6bdfab1a1 /gdb/configure.tgt
parentRISC-V: Add native linux support. (diff)
downloadbinutils-gdb-52a187f8e78eeaefa38bdaff04aae1fd9a69d788.tar.gz
binutils-gdb-52a187f8e78eeaefa38bdaff04aae1fd9a69d788.tar.bz2
binutils-gdb-52a187f8e78eeaefa38bdaff04aae1fd9a69d788.zip
RISC-V: Add configure support for riscv*-linux*.
This adds the target and native configure support, and the NEWS entries for the new target and native configurations. gdb/ * Makefile.in (ALL_TARGET_OBS): Add riscv-linux-tdep.c. (ALLDEPFILES): Add riscv-linux-nat.c, and riscv-linux-tdep.c. * NEWS: Mention new GNU/Linux RISC-V target. * configure.host: Add riscv*-*-linux*. * configure.nat: Add riscv*. * configure.tgt: Add riscv*-*-linux*.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index f197160896b..5e3bd5de718 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -517,6 +517,12 @@ s390*-*-linux*)
build_gdbserver=yes
;;
+riscv*-*-linux*)
+ # Target: Linux/RISC-V
+ gdb_target_obs="riscv-linux-tdep.o riscv-tdep.o glibc-tdep.o \
+ linux-tdep.o solib-svr4.o symfile-mem.o linux-record.o"
+ ;;
+
riscv*-*-*)
# Target: RISC-V architecture
gdb_target_obs="riscv-tdep.o"