diff options
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r-- | gdb/solib-svr4.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index ddbbd94..3eea057 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -407,11 +407,7 @@ free_solib_list (struct svr4_info *info) static void svr4_pspace_data_cleanup (struct program_space *pspace, void *arg) { - struct svr4_info *info; - - info = program_space_data (pspace, solib_svr4_pspace_data); - if (info == NULL) - return; + struct svr4_info *info = arg; free_probes_table (info); free_solib_list (info); |