34#if (__FreeBSD_kernel_version >= 1102502) || (__FreeBSD_version >= 1102502)
35# define USE_SIGTRAP_SIGINFO
36#elif defined(TRAP_BRKPT)
37# if !defined(__mips__) && !defined(__sparc64__)
38# define USE_SIGTRAP_SIGINFO
56 const gdb_byte *writebuf,
57 ULONGEST offset, ULONGEST len,
58 ULONGEST *xfered_len)
override;
63#ifdef HAVE_STRUCT_PTRACE_LWPINFO_PL_TDNAME
71 void async (
bool)
override;
77 char **,
int)
override;
79 void resume (ptid_t,
int,
enum gdb_signal)
override;
85#ifdef USE_SIGTRAP_SIGINFO
103#ifdef HAVE_STRUCT_PTRACE_LWPINFO_PL_SYSCALL_CODE
155 int regbase,
void *regs,
size_t size);
173 template <
class Regset>
179 ®s,
sizeof (regs));
182 template <
class Regset>
189 regbase, ®s,
sizeof (regs));
203 template <
class Regset>
212 template <
class Regset>
bool can_async_p() override
size_t have_regset(ptid_t ptid, int note)
int find_memory_regions(find_memory_region_ftype func, void *data) override
bool store_regset(struct regcache *regcache, int regnum, int note, const struct regset *regset, int regbase, void *regs, size_t size)
bool fetch_register_set(struct regcache *regcache, int regnum, int fetch_op, const struct regset *regset, int regbase, void *regs, size_t size)
enum target_xfer_status xfer_partial(enum target_object object, const char *annex, gdb_byte *readbuf, const gdb_byte *writebuf, ULONGEST offset, ULONGEST len, ULONGEST *xfered_len) override
int remove_exec_catchpoint(int) override
bool store_register_set(struct regcache *regcache, int regnum, int fetch_op, int store_op, const struct regset *regset, int regbase, void *regs, size_t size)
int insert_exec_catchpoint(int) override
bool store_regset(struct regcache *regcache, int regnum, int note, const struct regset *regset, int regbase=0)
bool store_register_set(struct regcache *regcache, int regnum, int fetch_op, int store_op, const struct regset *regset, int regbase=0)
bool fetch_register_set(struct regcache *regcache, int regnum, int fetch_op, const struct regset *regset, int regbase=0)
std::string pid_to_str(ptid_t) override
bool supports_multi_process() override
void create_inferior(const char *, const std::string &, char **, int) override
void async(bool) override
bool supports_disable_randomization() override
bool fetch_regset(struct regcache *regcache, int regnum, int note, const struct regset *regset, int regbase=0)
virtual void low_new_fork(ptid_t parent, pid_t child)
void update_thread_list() override
void post_startup_inferior(ptid_t) override
thread_control_capabilities get_thread_control_capabilities() override
bool info_proc(const char *, enum info_proc_what) override
bool thread_alive(ptid_t ptid) override
const char * pid_to_exec_file(int pid) override
virtual void low_delete_thread(thread_info *)
bool fetch_regset(struct regcache *regcache, int regnum, int note, const struct regset *regset, int regbase, void *regs, size_t size)
virtual void low_prepare_to_resume(thread_info *)
ptid_t wait(ptid_t, struct target_waitstatus *, target_wait_flags) override
ptid_t wait_1(ptid_t, struct target_waitstatus *, target_wait_flags)
void resume(ptid_t, int, enum gdb_signal) override
void post_attach(int) override
int(* find_memory_region_ftype)(CORE_ADDR addr, unsigned long size, int read, int write, int exec, int modified, bool memory_tagged, void *data)
bool fbsd_nat_get_siginfo(ptid_t ptid, siginfo_t *siginfo)
const char * thread_name(thread_info *thread)
mach_port_t mach_port_t name mach_port_t mach_port_t name kern_return_t int int rusage_t pid_t pid
static bool follow_fork()
void(* func)(remote_target *remote, char *)
virtual bool stopped_by_sw_breakpoint() TARGET_DEFAULT_RETURN(false)
virtual int insert_fork_catchpoint(int) TARGET_DEFAULT_RETURN(1)
virtual bool supports_stopped_by_sw_breakpoint() TARGET_DEFAULT_RETURN(false)
virtual int insert_vfork_catchpoint(int) TARGET_DEFAULT_RETURN(1)
virtual int remove_fork_catchpoint(int) TARGET_DEFAULT_RETURN(1)
virtual int remove_vfork_catchpoint(int) TARGET_DEFAULT_RETURN(1)
virtual int set_syscall_catchpoint(int, bool, int, gdb::array_view< const int >) TARGET_DEFAULT_RETURN(1)
thread_control_capabilities