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 | 95971ff2d2a2f683b1deb0e21b11f98b7b54d178 (patch) | |
tree | eeb47132390094f4a80d568911f9b3d8c0cea70f /gdb/i386-linux-nat.c | |
parent | f71ae7b2a966f16d325a238381a54e878c628535 (diff) | |
download | gdb-95971ff2d2a2f683b1deb0e21b11f98b7b54d178.tar.gz |
Eliminate ARCH_NUM_REGS.
Diffstat (limited to 'gdb/i386-linux-nat.c')
-rw-r--r-- | gdb/i386-linux-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index 47e78708a24..62fe3d4191b 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); } |