aboutsummaryrefslogtreecommitdiff
path: root/gdb/auto-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/auto-load.c')
-rw-r--r--gdb/auto-load.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/auto-load.c b/gdb/auto-load.c
index 03a7539..2971183 100644
--- a/gdb/auto-load.c
+++ b/gdb/auto-load.c
@@ -1130,7 +1130,8 @@ _initialize_auto_load (void)
struct cmd_list_element *cmd;
auto_load_pspace_data
- = register_program_space_data_with_cleanup (auto_load_pspace_data_cleanup);
+ = register_program_space_data_with_cleanup (NULL,
+ auto_load_pspace_data_cleanup);
observer_attach_new_objfile (auto_load_new_objfile);