2000-12-04 Michael Snyder <msnyder@cleaver.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / pa64solib.c
index 459302ae219e581aab4d4e09e655f59a6c1c138c..073d27132e21e6fde8c6b40f0b0d1db93394ef12 100644 (file)
@@ -319,9 +319,9 @@ pa64_solib_load_symbols (struct so_list *so, char *name, int from_tty,
       return;
     }
 
-  ANOFFSET (so->objfile->section_offsets, SECT_OFF_TEXT (so->objfile))
+  (so->objfile->section_offsets)->offsets[SECT_OFF_TEXT (so->objfile)]
     = so->pa64_solib_desc.text_base;
-  ANOFFSET (so->objfile->section_offsets, SECT_OFF_DATA (so->objfile))
+  (so->objfile->section_offsets)->offsets[SECT_OFF_DATA (so->objfile)]
     = so->pa64_solib_desc.data_base;
 
   /* Relocate all the sections based on where they got loaded.  */
@@ -1171,7 +1171,8 @@ add_to_solist (boolean from_tty, char *dll_path,
   pa64_solib_load_symbols (new_so, 
                           dll_path,
                           from_tty, 
-                          0);
+                          0,
+                          target);
   return;
 }
 
This page took 0.023583 seconds and 4 git commands to generate.