/* Common things used by the various darwin files
- Copyright (C) 1995-2022 Free Software Foundation, Inc.
+ Copyright (C) 1995-2023 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
void stop_inferior (inferior *inf);
void init_thread_list (inferior *inf);
void ptrace_him (int pid);
- int cancel_breakpoint (ptid_t ptid);
+ int cancel_breakpoint (inferior *inf, ptid_t ptid);
};
/* Describe the mach exception handling state for a task. This state is saved
static inline darwin_thread_info *
get_darwin_thread_info (class thread_info *thread)
{
- return static_cast<darwin_thread_info *> (thread->priv.get ());
+ return gdb::checked_static_cast<darwin_thread_info *> (thread->priv.get ());
}
/* Describe an inferior. */
static inline darwin_inferior *
get_darwin_inferior (inferior *inf)
{
- return static_cast<darwin_inferior *> (inf->priv.get ());
+ return gdb::checked_static_cast<darwin_inferior *> (inf->priv.get ());
}
/* Exception port. */