Eliminate some uses of __STDC__.
[deliverable/binutils-gdb.git] / gdb / regcache.c
index 49ce169ca24fa9c555fb7a0abeaeb327ef00b94a..7b462dedcc9afc182fb859e78b6dc3a0d5f2dcb1 100644 (file)
@@ -1,5 +1,5 @@
 /* Cache and manage the values of registers for GDB, the GNU debugger.
-   Copyright 1986, 87, 89, 91, 94, 95, 96, 1998, 2000, 2001
+   Copyright 1986, 1987, 1989, 1991, 1994, 1995, 1996, 1998, 2000, 2001
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -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.023983 seconds and 4 git commands to generate.