Replace ../include/wait.h with gdb_wait.h.
[deliverable/binutils-gdb.git] / gdb / xcoffread.c
index fa03d2f22aca0ed0af543aa05149a2372a32042e..944128293fa493896f616d1653aaa3e177cda5f4 100644 (file)
@@ -224,7 +224,7 @@ static void
 xcoff_symfile_finish PARAMS ((struct objfile *));
 
 static void
-  xcoff_symfile_offsets PARAMS ((struct objfile *, CORE_ADDR));
+  xcoff_symfile_offsets PARAMS ((struct objfile *, struct section_addr_info *addrs));
 
 static void
 find_linenos PARAMS ((bfd *, sec_ptr, PTR));
@@ -753,7 +753,7 @@ process_linenos (start, end)
            start_subfile (fakename, (char *) 0);
            free (current_subfile->name);
          }
-         current_subfile->name = strdup (inclTable[ii].name);
+         current_subfile->name = xstrdup (inclTable[ii].name);
 #endif
 
          if (lv == lineTb)
@@ -2759,9 +2759,9 @@ xcoff_initial_scan (objfile, mainline)
 }
 \f
 static void
-xcoff_symfile_offsets (objfile, addr)
+xcoff_symfile_offsets (objfile, addrs)
      struct objfile *objfile;
-     CORE_ADDR addr;
+     struct section_addr_info *addrs;
 {
   int i;
 
This page took 0.023507 seconds and 4 git commands to generate.