summaryrefslogtreecommitdiff
path: root/gdb/solist.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solist.h')
-rw-r--r--gdb/solist.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/solist.h b/gdb/solist.h
index f784fc349ed..049547417f8 100644
--- a/gdb/solist.h
+++ b/gdb/solist.h
@@ -88,6 +88,11 @@ struct target_so_ops
associated with a so_list entry. */
void (*free_so) (struct so_list *so);
+ /* Reset private data structures associated with SO.
+ This is called when SO is about to be reloaded.
+ It is also called before free_so when SO is about to be freed. */
+ void (*clear_so) (struct so_list *so);
+
/* Reset or free private data structures not associated with
so_list entries. */
void (*clear_solib) (void);