aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-target.h')
-rw-r--r--gdb/solib-target.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/gdb/solib-target.h b/gdb/solib-target.h
index f8a22fd..89ae2bc 100644
--- a/gdb/solib-target.h
+++ b/gdb/solib-target.h
@@ -20,7 +20,19 @@
#ifndef GDB_SOLIB_TARGET_H
#define GDB_SOLIB_TARGET_H
-struct solib_ops;
-extern const solib_ops solib_target_so_ops;
+#include "solib.h"
+
+/* solib_ops for systems fetching solibs from the target. */
+
+struct target_solib_ops : solib_ops
+{
+ void relocate_section_addresses (solib &so, target_section *) const override;
+ owning_intrusive_list<solib> current_sos () const override;
+ bool in_dynsym_resolve_code (CORE_ADDR pc) const override;
+};
+
+/* Return a new solib_ops for systems fetching solibs from the target. */
+
+solib_ops_up make_target_solib_ops ();
#endif /* GDB_SOLIB_TARGET_H */