aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-linux-nat.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/i386-linux-nat.c
parent060d22b0d0cbc7786f83c236ed9812343530dc80 (diff)
downloadgdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.zip
gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.gz
gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.bz2
Eliminate ARCH_NUM_REGS.
Diffstat (limited to 'gdb/i386-linux-nat.c')
-rw-r--r--gdb/i386-linux-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index 47e7870..62fe3d4 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -192,7 +192,7 @@ old_fetch_inferior_registers (int regno)
}
else
{
- for (regno = 0; regno < ARCH_NUM_REGS; regno++)
+ for (regno = 0; regno < NUM_REGS; regno++)
{
fetch_register (regno);
}
@@ -254,7 +254,7 @@ old_store_inferior_registers (int regno)
}
else
{
- for (regno = 0; regno < ARCH_NUM_REGS; regno++)
+ for (regno = 0; regno < NUM_REGS; regno++)
{
store_register (regno);
}