diff options
author | Jim Wilson <jimw@sifive.com> | 2018-08-09 13:37:45 -0700 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-08-09 13:37:45 -0700 |
commit | 52a187f8e78eeaefa38bdaff04aae1fd9a69d788 (patch) | |
tree | c3a81572d197349bd650153e2b01a3a6bdfab1a1 /gdb/configure.tgt | |
parent | 3c77f97eb0825f5808f4a3a01aa5cc2fcffd5ed4 (diff) | |
download | gdb-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.tgt')
-rw-r--r-- | gdb/configure.tgt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index f197160..5e3bd5d 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" |