Remove ALL_SO_LIBS and so_list_head
[deliverable/binutils-gdb.git] / gdb / progspace.h
index 2b887847e17ac4236c4404c922c858825b5e5277..0e32224f02d1da9cdba475e3ba8eab1765898bf3 100644 (file)
@@ -37,6 +37,7 @@ struct exec;
 struct address_space;
 struct program_space_data;
 struct address_space_data;
+struct so_list;
 
 typedef std::list<std::shared_ptr<objfile>> objfile_list;
 
@@ -264,6 +265,12 @@ struct program_space
   /* Free all the objfiles associated with this program space.  */
   void free_all_objfiles ();
 
+  /* Return a range adapter for iterating over all the solibs in this
+     program space.  Use it like:
+
+     for (so_list *so : pspace->solibs ()) { ... }  */
+  next_adapter<struct so_list> solibs () const;
+
 
   /* Pointer to next in linked list.  */
   struct program_space *next = NULL;
This page took 0.023533 seconds and 4 git commands to generate.