diff options
Diffstat (limited to 'gdb/ravenscar-thread.c')
-rw-r--r-- | gdb/ravenscar-thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c index 63aa1d1..1398d1b 100644 --- a/gdb/ravenscar-thread.c +++ b/gdb/ravenscar-thread.c @@ -674,7 +674,7 @@ ravenscar_inferior_created (inferior *inf) } ravenscar_thread_target *rtarget = new ravenscar_thread_target (); - push_target (target_ops_up (rtarget)); + inf->push_target (target_ops_up (rtarget)); thread_info *thr = rtarget->add_active_thread (); if (thr != nullptr) switch_to_thread (thr); |