gdb/riscv: Remove use of pseudo registers
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 6 Mar 2018 16:19:52 +0000 (16:19 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 6 Mar 2018 19:12:19 +0000 (19:12 +0000)
commitd74aff3d95928db6647a11865c396204c50bc157
treefaf8778010977e7ef139a75c1f15e0f1ae7de4af
parent7ea78b5973525193eda8e379cc351c7804653216
gdb/riscv: Remove use of pseudo registers

The code making use of pseudo registers was initially intended to
support running 32-bit ABI files on 64-bit riscv targets.  However, the
implementation was incomplete, and broken.

For now I've removed all reference to pseudo registers from the riscv
target, we've not lost any functionality, and this cleans up failures in
the selftests.

Once the riscv target has matured a little we'll probably end up
bringing back some of the use of pseudo registers in order to better
support running 32-bit executables on a 64-bit target.

gdb/ChangeLog:

* riscv-tdep.c (riscv_pseudo_register_read): Delete.
(riscv_pseudo_register_write): Delete.
(riscv_gdbarch_init): Remove all use of pseudo registers.
gdb/ChangeLog
gdb/riscv-tdep.c