75 0x67, 0x00, 0x00, 0x00,
78 size_t buflen =
sizeof sigreturn;
106 if (memcmp (buf, sigreturn, buflen) == 0)
187 #define I386OBSD_UTHREAD_ESP_OFFSET 176 362 static struct value *
364 void **this_cache,
int regnum)
375 void **this_prologue_cache)
387 return (
name && (strcmp (
name,
"calltrap") == 0
388 || strcmp (
name,
"syscall1") == 0
static int i386obsd_uthread_reg_offset[]
void trad_frame_set_reg_addr(struct trad_frame_cache *this_trad_cache, int regnum, CORE_ADDR addr)
struct frame_id frame_id_build(CORE_ADDR stack_addr, CORE_ADDR code_addr)
CORE_ADDR get_frame_pc(struct frame_info *frame)
void write_memory_unsigned_integer(CORE_ADDR addr, int len, enum bfd_endian byte_order, ULONGEST value)
void trad_frame_set_id(struct trad_frame_cache *this_trad_cache, struct frame_id this_id)
static const int i386obsd_sigreturn_offset[]
struct link_map_offsets * svr4_ilp32_fetch_link_map_offsets(void)
static int i386obsd_trapframe_sniffer(const struct frame_unwind *self, struct frame_info *this_frame, void **this_prologue_cache)
void bsd_uthread_set_collect_uthread(struct gdbarch *gdbarch, void(*collect_uthread)(const struct regcache *, int, CORE_ADDR))
struct gdbarch_tdep * gdbarch_tdep(struct gdbarch *gdbarch)
void obsd_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
void frame_unwind_prepend_unwinder(struct gdbarch *gdbarch, const struct frame_unwind *unwinder)
static const struct frame_unwind i386obsd_trapframe_unwind
void _initialize_i386obsd_tdep(void)
static int i386obsd_tf_reg_offset[]
void trad_frame_get_id(struct trad_frame_cache *this_trad_cache, struct frame_id *this_id)
static struct trad_frame_cache * i386obsd_trapframe_cache(struct frame_info *this_frame, void **this_cache)
static struct value * i386obsd_trapframe_prev_register(struct frame_info *this_frame, void **this_cache, int regnum)
int i386obsd_sc_reg_offset[I386_NUM_GREGS]
enum struct_return struct_return
static int i386obsd_r_reg_offset[]
static ULONGEST extract_unsigned_integer(const gdb_byte *addr, int len, enum bfd_endian byte_order)
int safe_frame_unwind_memory(struct frame_info *this_frame, CORE_ADDR addr, gdb_byte *buf, int len)
static void i386obsd_supply_uthread(struct regcache *regcache, int regnum, CORE_ADDR addr)
enum bfd_endian gdbarch_byte_order(struct gdbarch *gdbarch)
void i386bsd_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
void set_solib_svr4_fetch_link_map_offsets(struct gdbarch *gdbarch, struct link_map_offsets *(*flmo)(void))
int find_pc_partial_function(CORE_ADDR pc, const char **name, CORE_ADDR *address, CORE_ADDR *endaddr)
static int startswith(const char *string, const char *pattern)
struct trad_frame_cache * trad_frame_cache_zalloc(struct frame_info *this_frame)
static int i386obsd_sigtramp_p(struct frame_info *this_frame)
void read_memory(CORE_ADDR memaddr, gdb_byte *myaddr, ssize_t len)
struct obj_section * find_pc_section(CORE_ADDR pc)
ULONGEST get_frame_register_unsigned(struct frame_info *frame, int regnum)
static void i386obsd_trapframe_this_id(struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
void gdbarch_register_osabi(enum bfd_architecture arch, unsigned long machine, enum gdb_osabi osabi, void(*init_osabi)(struct gdbarch_info, struct gdbarch *))
struct frame_info * this_frame
CORE_ADDR i386obsd_sigtramp_end_addr
int(* sigtramp_p)(struct frame_info *)
CORE_ADDR i386obsd_sigtramp_start_addr
void i386_elf_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
void regcache_raw_supply(struct regcache *regcache, int regnum, const void *buf)
unsigned long long ULONGEST
enum unwind_stop_reason default_frame_unwind_stop_reason(struct frame_info *this_frame, void **this_cache)
const struct frame_id outer_frame_id
void regcache_raw_collect(const struct regcache *regcache, int regnum, void *buf)
static void i386obsd_init_abi(struct gdbarch_info info, struct gdbarch *gdbarch)
ULONGEST read_memory_unsigned_integer(CORE_ADDR memaddr, int len, enum bfd_endian byte_order)
void write_memory(CORE_ADDR memaddr, const bfd_byte *myaddr, ssize_t len)
static const int i386obsd_page_size
void bsd_uthread_set_supply_uthread(struct gdbarch *gdbarch, void(*supply_uthread)(struct regcache *, int, CORE_ADDR))
#define I386OBSD_UTHREAD_ESP_OFFSET
struct value * trad_frame_get_register(struct trad_frame_cache *this_trad_cache, struct frame_info *this_frame, int regnum)
enum bfd_endian byte_order
static void i386obsd_collect_uthread(const struct regcache *regcache, int regnum, CORE_ADDR addr)
CORE_ADDR get_frame_func(struct frame_info *this_frame)
struct gdbarch * get_frame_arch(struct frame_info *this_frame)
static void store_unsigned_integer(gdb_byte *addr, int len, enum bfd_endian byte_order, ULONGEST val)