/* Native-dependent code for GNU/Linux RISC-V.
- Copyright (C) 2018-2020 Free Software Foundation, Inc.
+ Copyright (C) 2018-2021 Free Software Foundation, Inc.
This file is part of GDB.
const struct target_desc *
riscv_linux_nat_target::read_description ()
{
- return riscv_linux_read_description (inferior_ptid.lwp ());
+ const struct riscv_gdbarch_features features
+ = riscv_linux_read_features (inferior_ptid.lwp ());
+ return riscv_lookup_target_description (features);
}
/* Fetch REGNUM (or all registers if REGNUM == -1) from the target