diff options
Diffstat (limited to 'gdb/gdbserver/low-hppabsd.c')
-rw-r--r-- | gdb/gdbserver/low-hppabsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/low-hppabsd.c b/gdb/gdbserver/low-hppabsd.c index ae91592..c4bc025 100644 --- a/gdb/gdbserver/low-hppabsd.c +++ b/gdb/gdbserver/low-hppabsd.c @@ -150,7 +150,7 @@ register_addr (int regno, CORE_ADDR blockend) { CORE_ADDR addr; - if (regno < 0 || regno >= ARCH_NUM_REGS) + if (regno < 0 || regno >= NUM_REGS) error ("Invalid register number %d.", regno); REGISTER_U_ADDR (addr, blockend, regno); |