gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / hppa-bsd-tdep.c
index 6575c2413c3ce1a9c1634e80b7d1f807e6b7647f..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,8 +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 += ANOFFSET (sec->objfile->section_offsets,
-                                     SECT_OFF_TEXT (sec->objfile));
+                 pltgot += sec->objfile->text_section_offset ();
 
                  return pltgot;
                }
This page took 0.026932 seconds and 4 git commands to generate.