aboutsummaryrefslogtreecommitdiff
path: root/gdb/hpux-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/hpux-thread.c')
-rw-r--r--gdb/hpux-thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hpux-thread.c b/gdb/hpux-thread.c
index 242d3a3..698c3d9 100644
--- a/gdb/hpux-thread.c
+++ b/gdb/hpux-thread.c
@@ -581,6 +581,6 @@ _initialize_hpux_thread (void)
child_suppress_run = 1;
/* Hook into new_objfile notification. */
- target_new_objfile_chain = target_new_objfile_hook;
- target_new_objfile_hook = hpux_thread_new_objfile;
+ target_new_objfile_chain = deprecated_target_new_objfile_hook;
+ deprecated_target_new_objfile_hook = hpux_thread_new_objfile;
}