aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.nat
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.nat
parent3c77f97eb0825f5808f4a3a01aa5cc2fcffd5ed4 (diff)
downloadgdb-52a187f8e78eeaefa38bdaff04aae1fd9a69d788.zip
gdb-52a187f8e78eeaefa38bdaff04aae1fd9a69d788.tar.gz
gdb-52a187f8e78eeaefa38bdaff04aae1fd9a69d788.tar.bz2
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.nat')
-rw-r--r--gdb/configure.nat4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/configure.nat b/gdb/configure.nat
index 7611266..feddeaa 100644
--- a/gdb/configure.nat
+++ b/gdb/configure.nat
@@ -267,6 +267,10 @@ case ${gdb_host} in
# Host: PowerPC, running Linux
NATDEPFILES="${NATDEPFILES} ppc-linux-nat.o ppc-linux.o"
;;
+ riscv*)
+ # Host: RISC-V, running Linux
+ NATDEPFILES="${NATDEPFILES} riscv-linux-nat.o"
+ ;;
s390)
# Host: S390, running Linux
NATDEPFILES="${NATDEPFILES} s390-linux-nat.o"