Eliminate some uses of __STDC__.
[deliverable/binutils-gdb.git] / gdb / solib-aix5.c
index bfe7f462fa2eb48ee3d1ce13a18ba9f9587430cd..2d20d4ddc45e937c360ca12110ffc7a1f79d4d76 100644 (file)
@@ -1,6 +1,6 @@
 /* Handle AIX5 shared libraries for GDB, the GNU Debugger.
-   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999,
-   2000, 2001
+   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000,
+   2001
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -595,7 +595,7 @@ aix5_relocate_main_executable (void)
                          symfile_objfile->num_sections);
   make_cleanup (free, new_offsets);
   for (i = 0; i < symfile_objfile->num_sections; i++)
-    ANOFFSET (new_offsets, i) = ANOFFSET (symfile_objfile->section_offsets, i);
+    new_offsets->offsets[i] = ANOFFSET (symfile_objfile->section_offsets, i);
 
   /* Iterate over the mappings in the main executable and compute
      the new offset value as appropriate.  */
@@ -622,7 +622,7 @@ aix5_relocate_main_executable (void)
 
                  if (increment != ANOFFSET (new_offsets, idx))
                    {
-                     ANOFFSET (new_offsets, idx) = increment;
+                     new_offsets->offsets[idx] = increment;
                      changed = 1;
                    }
                }
This page took 0.02491 seconds and 4 git commands to generate.