summaryrefslogtreecommitdiff
path: root/gdb/solib-svr4.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2007-05-16 14:07:56 +0000
committerDaniel Jacobowitz <dan@debian.org>2007-05-16 14:07:56 +0000
commit306ebf2edfbc9085bb61e6734a9849b809cdd915 (patch)
treea22985ef3b9126d2ba36ee60d3e1992688122a90 /gdb/solib-svr4.h
parent0b585e6634de62991a3e3a937165885f3f958a20 (diff)
downloadgdb-306ebf2edfbc9085bb61e6734a9849b809cdd915.tar.gz
* config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
* config/mips/tm-linux.h: Delete. * mips-linux-tdep.c (mips_svr4_so_ops): New. (mips_linux_in_dynsym_resolve_code): Make static. Use svr4_in_dynsym_resolve_code. (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call set_solib_ops. * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make global. * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare. * Makefile.in (mips-linux-tdep.o): Update. * solib.c (set_solib_ops): New. (current_target_so_ops): Update comment. * solib.h (set_solib_ops): New prototype.
Diffstat (limited to 'gdb/solib-svr4.h')
-rw-r--r--gdb/solib-svr4.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/solib-svr4.h b/gdb/solib-svr4.h
index ea0080a65a5..3cb2e31fc22 100644
--- a/gdb/solib-svr4.h
+++ b/gdb/solib-svr4.h
@@ -23,6 +23,9 @@
#define SOLIB_SVR4_H
struct objfile;
+struct target_so_ops;
+
+extern struct target_so_ops svr4_so_ops;
/* Critical offsets and sizes which describe struct r_debug and
struct link_map on SVR4-like targets. All offsets and sizes are
@@ -81,4 +84,8 @@ extern struct link_map_offsets *(*legacy_svr4_fetch_link_map_offsets_hook) (void
extern struct link_map_offsets *svr4_ilp32_fetch_link_map_offsets (void);
extern struct link_map_offsets *svr4_lp64_fetch_link_map_offsets (void);
+/* Return 1 if PC lies in the dynamic symbol resolution code of the
+ SVR4 run time loader. */
+int svr4_in_dynsym_resolve_code (CORE_ADDR pc);
+
#endif /* solib-svr4.h */