Remove DW_ADDR
[deliverable/binutils-gdb.git] / gdb / hppa-bsd-tdep.c
index 34dec20298fb5217a014c19d2302e9b655247fa5..d116a58c6cee5aeff71dfa6346ecd6c3934d82e9 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "hppa-tdep.h"
 #include "hppa-bsd-tdep.h"
-#include "dwarf2-frame.h"
+#include "dwarf2/frame.h"
 #include "solib-svr4.h"
 
 static CORE_ADDR
@@ -87,7 +87,7 @@ hppabsd_find_global_pointer (struct gdbarch *gdbarch, struct value *function)
                     we have to do it ourselves.  */
                  pltgot = extract_unsigned_integer (buf, sizeof buf,
                                                     byte_order);
-                 pltgot += sec->objfile->section_offsets[SECT_OFF_TEXT (sec->objfile)];
+                 pltgot += sec->objfile->text_section_offset ();
 
                  return pltgot;
                }
This page took 0.02357 seconds and 4 git commands to generate.