diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-03-13 23:31:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-03-13 23:31:14 +0000 |
commit | a728f04251098dd0e74a2aea1e4d8e841e7fb404 (patch) | |
tree | 2708491f02c795e429a65713e51c466ddf016565 /gdb/gdbserver | |
parent | 060d22b0d0cbc7786f83c236ed9812343530dc80 (diff) | |
download | gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.zip gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.gz gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.bz2 |
Eliminate ARCH_NUM_REGS.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/low-hppabsd.c | 2 | ||||
-rw-r--r-- | gdb/gdbserver/low-linux.c | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/gdb/gdbserver/low-linux.c b/gdb/gdbserver/low-linux.c index 56fe12f..eb55128 100644 --- a/gdb/gdbserver/low-linux.c +++ b/gdb/gdbserver/low-linux.c @@ -541,7 +541,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); |