summaryrefslogtreecommitdiff
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
commit95971ff2d2a2f683b1deb0e21b11f98b7b54d178 (patch)
treeeeb47132390094f4a80d568911f9b3d8c0cea70f /gdb/infptrace.c
parentf71ae7b2a966f16d325a238381a54e878c628535 (diff)
downloadgdb-95971ff2d2a2f683b1deb0e21b11f98b7b54d178.tar.gz
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 0393c042005..0a3e34db152 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);
}