aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 7197063..b9fb911 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -1195,7 +1195,7 @@ clear_solib (void)
current_program_space->so_list.clear_and_dispose ([] (shobj *so)
{
notify_solib_unloaded (current_program_space, *so);
- current_program_space->remove_target_sections (&so);
+ current_program_space->remove_target_sections (so);
delete so;
});