Change section_offsets to a std::vector
[deliverable/binutils-gdb.git] / gdb / hppa-tdep.c
index 9aa274d0bafdc0ed585251b969842c1cf3bc478a..1ee1b0ba286e29836fa664b8c251448a652537e2 100644 (file)
@@ -357,7 +357,7 @@ read_unwind_info (struct objfile *objfile)
   struct hppa_unwind_info *ui;
   struct hppa_objfile_private *obj_private;
 
-  text_offset = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
+  text_offset = objfile->section_offsets[SECT_OFF_TEXT (objfile)];
   ui = (struct hppa_unwind_info *) obstack_alloc (&objfile->objfile_obstack,
                                           sizeof (struct hppa_unwind_info));
 
This page took 0.025159 seconds and 4 git commands to generate.