RISC-V/Linux/native: Factor out target description determination
authorMaciej W. Rozycki <macro@wdc.com>
Wed, 5 Feb 2020 17:21:12 +0000 (17:21 +0000)
committerMaciej W. Rozycki <macro@wdc.com>
Wed, 5 Feb 2020 17:21:12 +0000 (17:21 +0000)
commitf6480e70001df1c8151362cd4621578bcb293224
tree00ede00c1e84b7f816bad6097978bfe407debff7
parentaf0ac53c4508aa1adf85d32191105f727144db1c
RISC-V/Linux/native: Factor out target description determination

In preparation for RISC-V/Linux `gdbserver' support factor out parts of
native target description determination code that can be shared between
the programs.

gdb/
* nat/riscv-linux-tdesc.h: New file.
* nat/riscv-linux-tdesc.c: New file, taking code from...
* riscv-linux-nat.c (riscv_linux_nat_target::read_description):
... here.
* configure.nat <linux> <riscv*>: Add nat/riscv-linux-tdesc.o to
NATDEPFILES.
gdb/ChangeLog
gdb/configure.nat
gdb/nat/riscv-linux-tdesc.c [new file with mode: 0644]
gdb/nat/riscv-linux-tdesc.h [new file with mode: 0644]
gdb/riscv-linux-nat.c
This page took 0.026913 seconds and 4 git commands to generate.