diff --git a/gdb/Makefile.in b/gdb/Makefile.in index ef575cad1010..d63e13ba28ec 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2636,6 +2636,7 @@ ALLDEPFILES = \ ravenscar-thread.c \ remote-sim.c \ riscv-tdep.c \ + riscv-linux-nat.c \ riscv-linux-tdep.c \ rl78-tdep.c \ rs6000-lynx178-tdep.c \ diff --git a/gdb/configure.nat b/gdb/configure.nat index 2026ee76f5b4..9b0332fdd68c 100644 --- a/gdb/configure.nat +++ b/gdb/configure.nat @@ -259,6 +259,10 @@ case ${gdb_host} in # Host: PowerPC, running Linux NATDEPFILES="${NATDEPFILES} ppc-linux-nat.o" ;; + riscv) + # Host: RISC-V, running Linux + NATDEPFILES="${NATDEPFILES} riscv-linux-nat.o" + ;; s390) # Host: S390, running Linux NATDEPFILES="${NATDEPFILES} s390-linux-nat.o"