diff options
Diffstat (limited to 'gdb/darwin-nat.c')
-rw-r--r-- | gdb/darwin-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index ca95d7b..f8e4443 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -1659,7 +1659,7 @@ darwin_attach_pid (struct inferior *inf) target_ops *darwin_ops = get_native_target (); if (!target_is_pushed (darwin_ops)) - push_target (darwin_ops); + inf->push_target (darwin_ops); } /* Get the thread_info object corresponding to this darwin_thread_info. */ |