aboutsummaryrefslogtreecommitdiff
path: root/gdb/solist.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solist.h')
-rw-r--r--gdb/solist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/solist.h b/gdb/solist.h
index 0b7bbf9..6ab5a06 100644
--- a/gdb/solist.h
+++ b/gdb/solist.h
@@ -194,6 +194,10 @@ struct solib_ops
/* Returns the number of active namespaces in the inferior. */
int (*num_active_namespaces) ();
+
+ /* Returns all solibs for a given namespace. If the namespace is not
+ active, returns an empty vector. */
+ std::vector<const solib *> (*get_solibs_in_ns) (int ns);
};
/* A unique pointer to a so_list. */