aboutsummaryrefslogtreecommitdiff
path: root/gdb/infptrace.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-13 23:31:14 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-13 23:31:14 +0000
commita728f04251098dd0e74a2aea1e4d8e841e7fb404 (patch)
tree2708491f02c795e429a65713e51c466ddf016565 /gdb/infptrace.c
parent060d22b0d0cbc7786f83c236ed9812343530dc80 (diff)
downloadfsf-binutils-gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.zip
fsf-binutils-gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.gz
fsf-binutils-gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.bz2
Eliminate ARCH_NUM_REGS.
Diffstat (limited to 'gdb/infptrace.c')
-rw-r--r--gdb/infptrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index 0393c04..0a3e34d 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -423,7 +423,7 @@ fetch_inferior_registers (int regno)
}
else
{
- for (regno = 0; regno < ARCH_NUM_REGS; regno++)
+ for (regno = 0; regno < NUM_REGS; regno++)
{
fetch_register (regno);
}
@@ -487,7 +487,7 @@ store_inferior_registers (int regno)
}
else
{
- for (regno = 0; regno < ARCH_NUM_REGS; regno++)
+ for (regno = 0; regno < NUM_REGS; regno++)
{
store_register (regno);
}