gdb/riscv: Fix type when reading register from regcache
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 6 Mar 2018 13:20:14 +0000 (13:20 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 6 Mar 2018 14:25:02 +0000 (14:25 +0000)
commitb2970c238e24e6239760b72c924ee7dd2df9ccd1
tree3bbdbb5c235a0ee81f6ef33d002d0ffcdbbea36a
parentfb2946557216c813310ed062a06b55d5dc466bb0
gdb/riscv: Fix type when reading register from regcache

Should use a ULONGEST when reading from the regcache.

gdb/ChangeLog:

* riscv-tdep.c (riscv_return_value): Change type to ULONGEST for
reading values from registers.
gdb/ChangeLog
gdb/riscv-tdep.c