diff options
Diffstat (limited to 'gdb/nat/riscv-linux-tdesc.h')
-rw-r--r-- | gdb/nat/riscv-linux-tdesc.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/nat/riscv-linux-tdesc.h b/gdb/nat/riscv-linux-tdesc.h index 9b57a9e..e9ee64a 100644 --- a/gdb/nat/riscv-linux-tdesc.h +++ b/gdb/nat/riscv-linux-tdesc.h @@ -19,9 +19,10 @@ #ifndef NAT_RISCV_LINUX_TDESC_H #define NAT_RISCV_LINUX_TDESC_H -struct target_desc; +#include "arch/riscv.h" -/* Return a target description for the LWP identified by TID. */ -const struct target_desc *riscv_linux_read_description (int tid); +/* Determine XLEN and FLEN for the LWP identified by TID, and return a + corresponding features object. */ +struct riscv_gdbarch_features riscv_linux_read_features (int tid); #endif /* NAT_RISCV_LINUX_TDESC_H */ |