diff options
Diffstat (limited to 'gdb/sol-thread.c')
-rw-r--r-- | gdb/sol-thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c index 3ac2a34d62b..25d67463c81 100644 --- a/gdb/sol-thread.c +++ b/gdb/sol-thread.c @@ -1702,8 +1702,8 @@ _initialize_sol_thread (void) add_target (&core_ops); /* Hook into new_objfile notification. */ - target_new_objfile_chain = target_new_objfile_hook; - target_new_objfile_hook = sol_thread_new_objfile; + target_new_objfile_chain = deprecated_target_new_objfile_hook; + deprecated_target_new_objfile_hook = sol_thread_new_objfile; return; die: |