GDB (xrefs)

Macros | Functions | Variables
/tmp/gdb-8.1/gdb/mips-fbsd-tdep.c File Reference
`#include "defs.h"`
`#include "osabi.h"`
`#include "regset.h"`
`#include "trad-frame.h"`
`#include "tramp-frame.h"`
`#include "fbsd-tdep.h"`
`#include "mips-tdep.h"`
`#include "mips-fbsd-tdep.h"`
`#include "solib-svr4.h"`

Go to the source code of this file.

## Macros
#define | MIPS_FBSD_NUM_GREGS 40
#define | MIPS_FBSD_NUM_FPREGS 34
#define | FBSD_SYS_sigreturn 417
#define | MIPS_INST_LI_V0_SIGRETURN 0x24020000 + FBSD_SYS_sigreturn
#define | MIPS_INST_SYSCALL 0x0000000c
#define | MIPS_INST_BREAK 0x0000000d
#define | O32_SIGFRAME_UCONTEXT_OFFSET (16)
#define | O32_SIGSET_T_SIZE (16)
#define | O32_UCONTEXT_ONSTACK (O32_SIGSET_T_SIZE)
#define | O32_UCONTEXT_PC (O32_UCONTEXT_ONSTACK + 4)
#define | O32_UCONTEXT_REGS (O32_UCONTEXT_PC + 4)
#define | O32_UCONTEXT_SR (O32_UCONTEXT_REGS + 4 * 32)
#define | O32_UCONTEXT_LO (O32_UCONTEXT_SR + 4)
#define | O32_UCONTEXT_HI (O32_UCONTEXT_LO + 4)
#define | O32_UCONTEXT_FPUSED (O32_UCONTEXT_HI + 4)
#define | O32_UCONTEXT_FPREGS (O32_UCONTEXT_FPUSED + 4)
#define | O32_UCONTEXT_REG_SIZE 4
#define | MIPS_INST_ADDIU_A0_SP_O32
#define | N64_SIGFRAME_UCONTEXT_OFFSET (32)
#define | N64_SIGSET_T_SIZE (16)
#define | N64_UCONTEXT_ONSTACK (N64_SIGSET_T_SIZE)
#define | N64_UCONTEXT_PC (N64_UCONTEXT_ONSTACK + 8)
#define | N64_UCONTEXT_REGS (N64_UCONTEXT_PC + 8)
#define | N64_UCONTEXT_SR (N64_UCONTEXT_REGS + 8 * 32)
#define | N64_UCONTEXT_LO (N64_UCONTEXT_SR + 8)
#define | N64_UCONTEXT_HI (N64_UCONTEXT_LO + 8)
#define | N64_UCONTEXT_FPUSED (N64_UCONTEXT_HI + 8)
#define | N64_UCONTEXT_FPREGS (N64_UCONTEXT_FPUSED + 8)
#define | N64_UCONTEXT_REG_SIZE 8
#define | MIPS_INST_ADDIU_A0_SP_N32
#define | MIPS_INST_DADDIU_A0_SP_N64

## Functions
static void | mips_fbsd_supply_reg (struct regcache *regcache, int regnum, const void *addr, size_t len)
static void | mips_fbsd_collect_reg (const struct regcache *regcache, int regnum, void *addr, size_t len)
void | mips_fbsd_supply_fpregs (struct regcache *regcache, int regnum, const void *fpregs, size_t regsize)
void | mips_fbsd_supply_gregs (struct regcache *regcache, int regnum, const void *gregs, size_t regsize)
void | mips_fbsd_collect_fpregs (const struct regcache *regcache, int regnum, void *fpregs, size_t regsize)
void | mips_fbsd_collect_gregs (const struct regcache *regcache, int regnum, void *gregs, size_t regsize)
static void | mips_fbsd_supply_fpregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *fpregs, size_t len)
static void | mips_fbsd_collect_fpregset (const struct regset *regset, const struct regcache *regcache, int regnum, void *fpregs, size_t len)
static void | mips_fbsd_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)
static void | mips_fbsd_collect_gregset (const struct regset *regset, const struct regcache *regcache, int regnum, void *gregs, size_t len)
static void | mips_fbsd_iterate_over_regset_sections (struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache)
static void | mips_fbsd_sigframe_init (const struct tramp_frame *self, struct frame_info *this_frame, struct trad_frame_cache *cache, CORE_ADDR func)
static void | mips64_fbsd_sigframe_init (const struct tramp_frame *self, struct frame_info *this_frame, struct trad_frame_cache *cache, CORE_ADDR func)
static struct link_map_offsets * | mips_fbsd_ilp32_fetch_link_map_offsets (void)
static struct link_map_offsets * | mips_fbsd_lp64_fetch_link_map_offsets (void)
static void | mips_fbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
void | _initialize_mips_fbsd_tdep (void)

## Variables
static const struct regset | mips_fbsd_gregset
static const struct regset | mips_fbsd_fpregset
static const struct tramp_frame | mips_fbsd_sigframe
static const struct tramp_frame | mipsn32_fbsd_sigframe
static const struct tramp_frame | mips64_fbsd_sigframe

## Macro Definition Documentation

## ◆ FBSD_SYS_sigreturn

#define FBSD_SYS_sigreturn 417

Definition at line 256 of file mips-fbsd-tdep.c.

## ◆ MIPS_FBSD_NUM_FPREGS

#define MIPS_FBSD_NUM_FPREGS 34

Definition at line 44 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_collect_fpregset(), mips_fbsd_iterate_over_regset_sections(), and mips_fbsd_supply_fpregset().

## ◆ MIPS_FBSD_NUM_GREGS

#define MIPS_FBSD_NUM_GREGS 40

Definition at line 38 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_collect_gregset(), mips_fbsd_iterate_over_regset_sections(), and mips_fbsd_supply_gregset().

## ◆ MIPS_INST_ADDIU_A0_SP_N32

#define MIPS_INST_ADDIU_A0_SP_N32

Value:
(0x27a40000 \
+ N64_SIGFRAME_UCONTEXT_OFFSET)
N64_SIGFRAME_UCONTEXT_OFFSET
#define N64_SIGFRAME_UCONTEXT_OFFSET
Definition: mips-fbsd-tdep.c:354

Definition at line 429 of file mips-fbsd-tdep.c.

## ◆ MIPS_INST_ADDIU_A0_SP_O32

#define MIPS_INST_ADDIU_A0_SP_O32

Value:
(0x27a40000 \
+ O32_SIGFRAME_UCONTEXT_OFFSET)
O32_SIGFRAME_UCONTEXT_OFFSET
#define O32_SIGFRAME_UCONTEXT_OFFSET
Definition: mips-fbsd-tdep.c:262

Definition at line 337 of file mips-fbsd-tdep.c.

## ◆ MIPS_INST_BREAK

#define MIPS_INST_BREAK 0x0000000d

Definition at line 260 of file mips-fbsd-tdep.c.

## ◆ MIPS_INST_DADDIU_A0_SP_N64

#define MIPS_INST_DADDIU_A0_SP_N64

Value:
(0x67a40000 \
+ N64_SIGFRAME_UCONTEXT_OFFSET)
N64_SIGFRAME_UCONTEXT_OFFSET
#define N64_SIGFRAME_UCONTEXT_OFFSET
Definition: mips-fbsd-tdep.c:354

Definition at line 446 of file mips-fbsd-tdep.c.

## ◆ MIPS_INST_LI_V0_SIGRETURN

#define MIPS_INST_LI_V0_SIGRETURN 0x24020000 + FBSD_SYS_sigreturn

Definition at line 258 of file mips-fbsd-tdep.c.

## ◆ MIPS_INST_SYSCALL

#define MIPS_INST_SYSCALL 0x0000000c

Definition at line 259 of file mips-fbsd-tdep.c.

## ◆ N64_SIGFRAME_UCONTEXT_OFFSET

#define N64_SIGFRAME_UCONTEXT_OFFSET (32)

Definition at line 354 of file mips-fbsd-tdep.c.

Referenced by mips64_fbsd_sigframe_init().

## ◆ N64_SIGSET_T_SIZE

#define N64_SIGSET_T_SIZE (16)

Definition at line 355 of file mips-fbsd-tdep.c.

## ◆ N64_UCONTEXT_FPREGS

#define N64_UCONTEXT_FPREGS (N64_UCONTEXT_FPUSED + 8)

Definition at line 364 of file mips-fbsd-tdep.c.

Referenced by mips64_fbsd_sigframe_init().

## ◆ N64_UCONTEXT_FPUSED

#define N64_UCONTEXT_FPUSED (N64_UCONTEXT_HI + 8)

Definition at line 363 of file mips-fbsd-tdep.c.

Referenced by mips64_fbsd_sigframe_init().

## ◆ N64_UCONTEXT_HI

#define N64_UCONTEXT_HI (N64_UCONTEXT_LO + 8)

Definition at line 362 of file mips-fbsd-tdep.c.

Referenced by mips64_fbsd_sigframe_init().

## ◆ N64_UCONTEXT_LO

#define N64_UCONTEXT_LO (N64_UCONTEXT_SR + 8)

Definition at line 361 of file mips-fbsd-tdep.c.

Referenced by mips64_fbsd_sigframe_init().

## ◆ N64_UCONTEXT_ONSTACK

#define N64_UCONTEXT_ONSTACK (N64_SIGSET_T_SIZE)

Definition at line 357 of file mips-fbsd-tdep.c.

## ◆ N64_UCONTEXT_PC

#define N64_UCONTEXT_PC (N64_UCONTEXT_ONSTACK + 8)

Definition at line 358 of file mips-fbsd-tdep.c.

Referenced by mips64_fbsd_sigframe_init().

## ◆ N64_UCONTEXT_REG_SIZE

#define N64_UCONTEXT_REG_SIZE 8

Definition at line 366 of file mips-fbsd-tdep.c.

Referenced by mips64_fbsd_sigframe_init().

## ◆ N64_UCONTEXT_REGS

#define N64_UCONTEXT_REGS (N64_UCONTEXT_PC + 8)

Definition at line 359 of file mips-fbsd-tdep.c.

Referenced by mips64_fbsd_sigframe_init().

## ◆ N64_UCONTEXT_SR

#define N64_UCONTEXT_SR (N64_UCONTEXT_REGS + 8 * 32)

Definition at line 360 of file mips-fbsd-tdep.c.

Referenced by mips64_fbsd_sigframe_init().

## ◆ O32_SIGFRAME_UCONTEXT_OFFSET

#define O32_SIGFRAME_UCONTEXT_OFFSET (16)

Definition at line 262 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_sigframe_init().

## ◆ O32_SIGSET_T_SIZE

#define O32_SIGSET_T_SIZE (16)

Definition at line 263 of file mips-fbsd-tdep.c.

## ◆ O32_UCONTEXT_FPREGS

#define O32_UCONTEXT_FPREGS (O32_UCONTEXT_FPUSED + 4)

Definition at line 272 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_sigframe_init().

## ◆ O32_UCONTEXT_FPUSED

#define O32_UCONTEXT_FPUSED (O32_UCONTEXT_HI + 4)

Definition at line 271 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_sigframe_init().

## ◆ O32_UCONTEXT_HI

#define O32_UCONTEXT_HI (O32_UCONTEXT_LO + 4)

Definition at line 270 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_sigframe_init().

## ◆ O32_UCONTEXT_LO

#define O32_UCONTEXT_LO (O32_UCONTEXT_SR + 4)

Definition at line 269 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_sigframe_init().

## ◆ O32_UCONTEXT_ONSTACK

#define O32_UCONTEXT_ONSTACK (O32_SIGSET_T_SIZE)

Definition at line 265 of file mips-fbsd-tdep.c.

## ◆ O32_UCONTEXT_PC

#define O32_UCONTEXT_PC (O32_UCONTEXT_ONSTACK + 4)

Definition at line 266 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_sigframe_init().

## ◆ O32_UCONTEXT_REG_SIZE

#define O32_UCONTEXT_REG_SIZE 4

Definition at line 274 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_sigframe_init().

## ◆ O32_UCONTEXT_REGS

#define O32_UCONTEXT_REGS (O32_UCONTEXT_PC + 4)

Definition at line 267 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_sigframe_init().

## ◆ O32_UCONTEXT_SR

#define O32_UCONTEXT_SR (O32_UCONTEXT_REGS + 4 * 32)

Definition at line 268 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_sigframe_init().

## Function Documentation

## ◆ _initialize_mips_fbsd_tdep()

void _initialize_mips_fbsd_tdep | ( | void |  | ) |

Definition at line 557 of file mips-fbsd-tdep.c.

References GDB_OSABI_FREEBSD, gdbarch_register_osabi(), and mips_fbsd_init_abi().

## ◆ mips64_fbsd_sigframe_init()

static void mips64_fbsd_sigframe_init | ( | const struct tramp_frame * | self,
|  | struct frame_info * | this_frame,
|  | struct trad_frame_cache * | cache,
|  | CORE_ADDR | func
| ) |  |
| static

Definition at line 369 of file mips-fbsd-tdep.c.

References gdbarch::byte_order, extract_unsigned_integer(), frame_id_build(), func, gdbarch_byte_order(), gdbarch_fp0_regnum(), gdbarch_num_regs(), get_frame_arch(), get_frame_register_signed(), mips_regnum::hi, mips_regnum::lo, MIPS_PS_REGNUM, MIPS_RA_REGNUM, mips_regnum(), MIPS_SP_REGNUM, MIPS_ZERO_REGNUM, N64_SIGFRAME_UCONTEXT_OFFSET, N64_UCONTEXT_FPREGS, N64_UCONTEXT_FPUSED, N64_UCONTEXT_HI, N64_UCONTEXT_LO, N64_UCONTEXT_PC, N64_UCONTEXT_REG_SIZE, N64_UCONTEXT_REGS, N64_UCONTEXT_SR, mips_regnum::pc, regnum, target_read_memory(), trad_frame_set_id(), and trad_frame_set_reg_addr().

## ◆ mips_fbsd_collect_fpregs()

void mips_fbsd_collect_fpregs | ( | const struct regcache * | regcache,
|  | int | regnum,
|  | void * | fpregs,
|  | size_t | regsize
| ) |  |

Definition at line 117 of file mips-fbsd-tdep.c.

References regcache::arch(), mips_regnum::fp0, mips_fbsd_collect_reg(), mips_regnum(), and regnum.

Referenced by mips_fbsd_collect_fpregset(), and mips_fbsd_store_inferior_registers().

## ◆ mips_fbsd_collect_fpregset()

static void mips_fbsd_collect_fpregset | ( | const struct regset * | regset,
|  | const struct regcache * | regcache,
|  | int | regnum,
|  | void * | fpregs,
|  | size_t | len
| ) |  |
| static

Definition at line 178 of file mips-fbsd-tdep.c.

References regcache::arch(), gdb_assert, mips_abi_regsize(), mips_fbsd_collect_fpregs(), MIPS_FBSD_NUM_FPREGS, and regnum.

## ◆ mips_fbsd_collect_gregs()

void mips_fbsd_collect_gregs | ( | const struct regcache * | regcache,
|  | int | regnum,
|  | void * | gregs,
|  | size_t | regsize
| ) |  |

Definition at line 144 of file mips-fbsd-tdep.c.

References regcache::arch(), mips_fbsd_collect_reg(), mips_regnum(), mips_regnum::pc, and regnum.

Referenced by mips_fbsd_collect_gregset(), and mips_fbsd_store_inferior_registers().

## ◆ mips_fbsd_collect_gregset()

static void mips_fbsd_collect_gregset | ( | const struct regset * | regset,
|  | const struct regcache * | regcache,
|  | int | regnum,
|  | void * | gregs,
|  | size_t | len
| ) |  |
| static

Definition at line 211 of file mips-fbsd-tdep.c.

References regcache::arch(), gdb_assert, mips_abi_regsize(), mips_fbsd_collect_gregs(), MIPS_FBSD_NUM_GREGS, and regnum.

## ◆ mips_fbsd_collect_reg()

static void mips_fbsd_collect_reg | ( | const struct regcache * | regcache,
|  | int | regnum,
|  | void * | addr,
|  | size_t | len
| ) |  |
| static

Definition at line 60 of file mips-fbsd-tdep.c.

References regcache::raw_collect_integer(), and regnum.

Referenced by mips_fbsd_collect_fpregs(), and mips_fbsd_collect_gregs().

## ◆ mips_fbsd_ilp32_fetch_link_map_offsets()

static struct link_map_offsets* mips_fbsd_ilp32_fetch_link_map_offsets | ( | void |  | ) |
| static

Definition at line 470 of file mips-fbsd-tdep.c.

References link_map_offsets::l_addr_offset, link_map_offsets::l_ld_offset, link_map_offsets::l_name_offset, link_map_offsets::l_next_offset, link_map_offsets::l_prev_offset, link_map_offsets::link_map_size, link_map_offsets::r_brk_offset, link_map_offsets::r_ldsomap_offset, link_map_offsets::r_map_offset, link_map_offsets::r_version_offset, and link_map_offsets::r_version_size.

Referenced by mips_fbsd_init_abi().

## ◆ mips_fbsd_init_abi()

static void mips_fbsd_init_abi | ( | struct gdbarch_info | info,
|  | struct gdbarch * | gdbarch
| ) |  |
| static

Definition at line 524 of file mips-fbsd-tdep.c.

References fbsd_init_abi(), gdbarch_ptr_bit(), mips64_fbsd_sigframe, MIPS_ABI_N32, MIPS_ABI_N64, MIPS_ABI_O32, mips_fbsd_ilp32_fetch_link_map_offsets(), mips_fbsd_iterate_over_regset_sections(), mips_fbsd_lp64_fetch_link_map_offsets(), mips_fbsd_sigframe, mips_software_single_step(), mipsn32_fbsd_sigframe, set_gdbarch_iterate_over_regset_sections(), set_gdbarch_software_single_step(), set_solib_svr4_fetch_link_map_offsets(), and tramp_frame_prepend_unwinder().

Referenced by _initialize_mips_fbsd_tdep().

## ◆ mips_fbsd_iterate_over_regset_sections()

static void mips_fbsd_iterate_over_regset_sections | ( | struct gdbarch * | gdbarch,
|  | iterate_over_regset_sections_cb * | cb,
|  | void * | cb_data,
|  | const struct regcache * | regcache
| ) |  |
| static

Definition at line 241 of file mips-fbsd-tdep.c.

References mips_abi_regsize(), mips_fbsd_fpregset, mips_fbsd_gregset, MIPS_FBSD_NUM_FPREGS, and MIPS_FBSD_NUM_GREGS.

Referenced by mips_fbsd_init_abi().

## ◆ mips_fbsd_lp64_fetch_link_map_offsets()

static struct link_map_offsets* mips_fbsd_lp64_fetch_link_map_offsets | ( | void |  | ) |
| static

Definition at line 497 of file mips-fbsd-tdep.c.

References link_map_offsets::l_addr_offset, link_map_offsets::l_ld_offset, link_map_offsets::l_name_offset, link_map_offsets::l_next_offset, link_map_offsets::l_prev_offset, link_map_offsets::link_map_size, link_map_offsets::r_brk_offset, link_map_offsets::r_ldsomap_offset, link_map_offsets::r_map_offset, link_map_offsets::r_version_offset, and link_map_offsets::r_version_size.

Referenced by mips_fbsd_init_abi().

## ◆ mips_fbsd_sigframe_init()

static void mips_fbsd_sigframe_init | ( | const struct tramp_frame * | self,
|  | struct frame_info * | this_frame,
|  | struct trad_frame_cache * | cache,
|  | CORE_ADDR | func
| ) |  |
| static

Definition at line 277 of file mips-fbsd-tdep.c.

References gdbarch::byte_order, extract_unsigned_integer(), frame_id_build(), func, gdbarch_byte_order(), gdbarch_fp0_regnum(), gdbarch_num_regs(), get_frame_arch(), get_frame_register_signed(), mips_regnum::hi, mips_regnum::lo, MIPS_PS_REGNUM, MIPS_RA_REGNUM, mips_regnum(), MIPS_SP_REGNUM, MIPS_ZERO_REGNUM, O32_SIGFRAME_UCONTEXT_OFFSET, O32_UCONTEXT_FPREGS, O32_UCONTEXT_FPUSED, O32_UCONTEXT_HI, O32_UCONTEXT_LO, O32_UCONTEXT_PC, O32_UCONTEXT_REG_SIZE, O32_UCONTEXT_REGS, O32_UCONTEXT_SR, mips_regnum::pc, regnum, target_read_memory(), trad_frame_set_id(), and trad_frame_set_reg_addr().

## ◆ mips_fbsd_supply_fpregs()

void mips_fbsd_supply_fpregs | ( | struct regcache * | regcache,
|  | int | regnum,
|  | const void * | fpregs,
|  | size_t | regsize
| ) |  |

Definition at line 71 of file mips-fbsd-tdep.c.

References regcache::arch(), extract_unsigned_integer(), mips_regnum::fp0, gdbarch_byte_order(), mips_fbsd_supply_reg(), mips_regnum(), and regnum.

Referenced by mips_fbsd_fetch_inferior_registers(), and mips_fbsd_supply_fpregset().

## ◆ mips_fbsd_supply_fpregset()

static void mips_fbsd_supply_fpregset | ( | const struct regset * | regset,
|  | struct regcache * | regcache,
|  | int | regnum,
|  | const void * | fpregs,
|  | size_t | len
| ) |  |
| static

Definition at line 161 of file mips-fbsd-tdep.c.

References regcache::arch(), gdb_assert, mips_abi_regsize(), MIPS_FBSD_NUM_FPREGS, mips_fbsd_supply_fpregs(), and regnum.

## ◆ mips_fbsd_supply_gregs()

void mips_fbsd_supply_gregs | ( | struct regcache * | regcache,
|  | int | regnum,
|  | const void * | gregs,
|  | size_t | regsize
| ) |  |

Definition at line 100 of file mips-fbsd-tdep.c.

References regcache::arch(), mips_fbsd_supply_reg(), mips_regnum(), mips_regnum::pc, and regnum.

Referenced by mips_fbsd_fetch_inferior_registers(), and mips_fbsd_supply_gregset().

## ◆ mips_fbsd_supply_gregset()

static void mips_fbsd_supply_gregset | ( | const struct regset * | regset,
|  | struct regcache * | regcache,
|  | int | regnum,
|  | const void * | gregs,
|  | size_t | len
| ) |  |
| static

Definition at line 194 of file mips-fbsd-tdep.c.

References regcache::arch(), gdb_assert, mips_abi_regsize(), MIPS_FBSD_NUM_GREGS, mips_fbsd_supply_gregs(), and regnum.

## ◆ mips_fbsd_supply_reg()

static void mips_fbsd_supply_reg | ( | struct regcache * | regcache,
|  | int | regnum,
|  | const void * | addr,
|  | size_t | len
| ) |  |
| static

Definition at line 50 of file mips-fbsd-tdep.c.

References regcache::raw_supply_integer(), and regnum.

Referenced by mips_fbsd_supply_fpregs(), and mips_fbsd_supply_gregs().

## Variable Documentation

## ◆ mips64_fbsd_sigframe

const struct tramp_frame mips64_fbsd_sigframe
| static

Initial value:
=
{
SIGTRAMP_FRAME,
MIPS_INSN32_SIZE,
{
{ MIPS_INST_DADDIU_A0_SP_N64, -1 },
{ MIPS_INST_LI_V0_SIGRETURN, -1 },
{ MIPS_INST_SYSCALL, -1 },
{ MIPS_INST_BREAK, -1 },
{ TRAMP_SENTINEL_INSN, -1 }
},
mips64_fbsd_sigframe_init
}
TRAMP_SENTINEL_INSN
#define TRAMP_SENTINEL_INSN
Definition: tramp-frame.h:44
mips64_fbsd_sigframe_init
static void mips64_fbsd_sigframe_init(const struct tramp_frame *self, struct frame_info *this_frame, struct trad_frame_cache *cache, CORE_ADDR func)
Definition: mips-fbsd-tdep.c:369
SIGTRAMP_FRAME
Definition: frame.h:255
MIPS_INST_SYSCALL
#define MIPS_INST_SYSCALL
Definition: mips-fbsd-tdep.c:259
MIPS_INST_LI_V0_SIGRETURN
#define MIPS_INST_LI_V0_SIGRETURN
Definition: mips-fbsd-tdep.c:258
MIPS_INST_DADDIU_A0_SP_N64
#define MIPS_INST_DADDIU_A0_SP_N64
Definition: mips-fbsd-tdep.c:446
MIPS_INST_BREAK
#define MIPS_INST_BREAK
Definition: mips-fbsd-tdep.c:260
MIPS_INSN32_SIZE
Definition: mips-tdep.h:151

Definition at line 449 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_init_abi().

## ◆ mips_fbsd_fpregset

const struct regset mips_fbsd_fpregset
| static

Initial value:
=
{
NULL,
mips_fbsd_supply_fpregset,
mips_fbsd_collect_fpregset,
}
mips_fbsd_collect_fpregset
static void mips_fbsd_collect_fpregset(const struct regset *regset, const struct regcache *regcache, int regnum, void *fpregs, size_t len)
Definition: mips-fbsd-tdep.c:178
mips_fbsd_supply_fpregset
static void mips_fbsd_supply_fpregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *fpregs, size_t len)
Definition: mips-fbsd-tdep.c:161

Definition at line 231 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_iterate_over_regset_sections().

## ◆ mips_fbsd_gregset

const struct regset mips_fbsd_gregset
| static

Initial value:
=
{
NULL,
mips_fbsd_supply_gregset,
mips_fbsd_collect_gregset,
}
mips_fbsd_supply_gregset
static void mips_fbsd_supply_gregset(const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len)
Definition: mips-fbsd-tdep.c:194
mips_fbsd_collect_gregset
static void mips_fbsd_collect_gregset(const struct regset *regset, const struct regcache *regcache, int regnum, void *gregs, size_t len)
Definition: mips-fbsd-tdep.c:211

Definition at line 224 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_iterate_over_regset_sections().

## ◆ mips_fbsd_sigframe

const struct tramp_frame mips_fbsd_sigframe
| static

Initial value:
=
{
SIGTRAMP_FRAME,
MIPS_INSN32_SIZE,
{
{ MIPS_INST_ADDIU_A0_SP_O32, -1 },
{ MIPS_INST_LI_V0_SIGRETURN, -1 },
{ MIPS_INST_SYSCALL, -1 },
{ MIPS_INST_BREAK, -1 },
{ TRAMP_SENTINEL_INSN, -1 }
},
mips_fbsd_sigframe_init
}
TRAMP_SENTINEL_INSN
#define TRAMP_SENTINEL_INSN
Definition: tramp-frame.h:44
SIGTRAMP_FRAME
Definition: frame.h:255
MIPS_INST_SYSCALL
#define MIPS_INST_SYSCALL
Definition: mips-fbsd-tdep.c:259
MIPS_INST_LI_V0_SIGRETURN
#define MIPS_INST_LI_V0_SIGRETURN
Definition: mips-fbsd-tdep.c:258
mips_fbsd_sigframe_init
static void mips_fbsd_sigframe_init(const struct tramp_frame *self, struct frame_info *this_frame, struct trad_frame_cache *cache, CORE_ADDR func)
Definition: mips-fbsd-tdep.c:277
MIPS_INST_BREAK
#define MIPS_INST_BREAK
Definition: mips-fbsd-tdep.c:260
MIPS_INST_ADDIU_A0_SP_O32
#define MIPS_INST_ADDIU_A0_SP_O32
Definition: mips-fbsd-tdep.c:337
MIPS_INSN32_SIZE
Definition: mips-tdep.h:151

Definition at line 340 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_init_abi().

## ◆ mipsn32_fbsd_sigframe

const struct tramp_frame mipsn32_fbsd_sigframe
| static

Initial value:
=
{
SIGTRAMP_FRAME,
MIPS_INSN32_SIZE,
{
{ MIPS_INST_ADDIU_A0_SP_N32, -1 },
{ MIPS_INST_LI_V0_SIGRETURN, -1 },
{ MIPS_INST_SYSCALL, -1 },
{ MIPS_INST_BREAK, -1 },
{ TRAMP_SENTINEL_INSN, -1 }
},
mips64_fbsd_sigframe_init
}
TRAMP_SENTINEL_INSN
#define TRAMP_SENTINEL_INSN
Definition: tramp-frame.h:44
mips64_fbsd_sigframe_init
static void mips64_fbsd_sigframe_init(const struct tramp_frame *self, struct frame_info *this_frame, struct trad_frame_cache *cache, CORE_ADDR func)
Definition: mips-fbsd-tdep.c:369
SIGTRAMP_FRAME
Definition: frame.h:255
MIPS_INST_SYSCALL
#define MIPS_INST_SYSCALL
Definition: mips-fbsd-tdep.c:259
MIPS_INST_LI_V0_SIGRETURN
#define MIPS_INST_LI_V0_SIGRETURN
Definition: mips-fbsd-tdep.c:258
MIPS_INST_BREAK
#define MIPS_INST_BREAK
Definition: mips-fbsd-tdep.c:260
MIPS_INST_ADDIU_A0_SP_N32
#define MIPS_INST_ADDIU_A0_SP_N32
Definition: mips-fbsd-tdep.c:429
MIPS_INSN32_SIZE
Definition: mips-tdep.h:151

Definition at line 432 of file mips-fbsd-tdep.c.

Referenced by mips_fbsd_init_abi().