]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/solib.h
gdb/solib: Refactor scan_dyntag
[thirdparty/binutils-gdb.git] / gdb / solib.h
index a94e9d3cd9e4b61d455093daeffb6a724edc64a4..c50f74e06bfa5e166200f2f18e90991c24fbe86a 100644 (file)
@@ -112,6 +112,12 @@ extern CORE_ADDR gdb_bfd_lookup_symbol_from_symtab (bfd *abfd,
                                                       const void *),
                                                    const void *data);
 
+/* Scan for DESIRED_DYNTAG in .dynamic section of ABFD.  If DESIRED_DYNTAG is
+   found, 1 is returned and the corresponding PTR and PTR_ADDR are set.  */
+
+extern int gdb_bfd_scan_elf_dyntag (const int desired_dyntag, bfd *abfd,
+                                   CORE_ADDR *ptr, CORE_ADDR *ptr_addr);
+
 /* Enable or disable optional solib event breakpoints as appropriate.  */
 
 extern void update_solib_breakpoints (void);