/* Darwin support for GDB, the GNU debugger.
- Copyright (C) 2008-2020 Free Software Foundation, Inc.
+ Copyright (C) 2008-2021 Free Software Foundation, Inc.
Contributed by AdaCore.
void
darwin_nat_target::resume (ptid_t ptid, int step, enum gdb_signal signal)
{
- struct target_waitstatus status;
-
int nsignal;
inferior_debug
}
target_ops *darwin_ops = get_native_target ();
- if (!target_is_pushed (darwin_ops))
- push_target (darwin_ops);
+ if (!inf->target_is_pushed (darwin_ops))
+ inf->push_target (darwin_ops);
}
/* Get the thread_info object corresponding to this darwin_thread_info. */