Eliminate some uses of __STDC__.
[deliverable/binutils-gdb.git] / gdb / regcache.c
index d853218fb6c7e2a9aad7d70dea4047f0bf18dd9d..7b462dedcc9afc182fb859e78b6dc3a0d5f2dcb1 100644 (file)
@@ -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.  */
This page took 0.02381 seconds and 4 git commands to generate.