aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.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/regcache.c
parent060d22b0d0cbc7786f83c236ed9812343530dc80 (diff)
downloadgdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.zip
gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.gz
gdb-a728f04251098dd0e74a2aea1e4d8e841e7fb404.tar.bz2
Eliminate ARCH_NUM_REGS.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r--gdb/regcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index d853218..7b462de 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -163,7 +163,7 @@ registers_changed (void)
gdb gives control to the user (ie watchpoints). */
alloca (0);
- for (i = 0; i < ARCH_NUM_REGS; i++)
+ for (i = 0; i < NUM_REGS; i++)
set_register_cached (i, 0);
/* Assume that if all the hardware regs have changed,
@@ -185,7 +185,7 @@ registers_fetched (void)
{
int i;
- for (i = 0; i < ARCH_NUM_REGS; i++)
+ for (i = 0; i < NUM_REGS; i++)
set_register_cached (i, 1);
/* Do not assume that the pseudo-regs have also been fetched.
Fetching all real regs might not account for all pseudo-regs. */