aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport/errors.h
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-08-09 12:10:03 +0100
committerAndrew Burgess <aburgess@redhat.com>2022-08-09 12:12:35 +0100
commit8cf61a33bba791c38e1b2f6cf2f276d052a1f17e (patch)
tree2a7e1ab33d915da1c2c89ad0c871dcdf8edaf0df /gdbsupport/errors.h
parent298d6e70a89a156e43d327c6c2c6efe08911d4f0 (diff)
downloadbinutils-8cf61a33bba791c38e1b2f6cf2f276d052a1f17e.zip
binutils-8cf61a33bba791c38e1b2f6cf2f276d052a1f17e.tar.gz
binutils-8cf61a33bba791c38e1b2f6cf2f276d052a1f17e.tar.bz2
gdb/riscv: use register name enum values in riscv-linux-nat.c
There were a few places where we were using integer values rather than the RISCV_*_REGNUM constants defined in riscv-tdep.h. This commit replaces 0 with RISCV_ZERO_REGNUM and 32 with RISCV_PC_REGNUM in a few places. There should be no user visible changes after this commit.
Diffstat (limited to 'gdbsupport/errors.h')
0 files changed, 0 insertions, 0 deletions