GDB (xrefs)
|
#include "defs.h"
#include "arch-utils.h"
#include "dis-asm.h"
#include "frame.h"
#include "frame-base.h"
#include "frame-unwind.h"
#include "gdbcore.h"
#include "gdbtypes.h"
#include "osabi.h"
#include "regcache.h"
#include "regset.h"
#include "trad-frame.h"
#include "value.h"
#include "vax-tdep.h"
Go to the source code of this file.
Classes | |
struct | vax_frame_cache |
Functions | |
static const char * | vax_register_name (struct gdbarch *gdbarch, int regnum) |
static struct type * | vax_register_type (struct gdbarch *gdbarch, int regnum) |
static void | vax_supply_gregset (const struct regset *regset, struct regcache *regcache, int regnum, const void *gregs, size_t len) |
static void | vax_iterate_over_regset_sections (struct gdbarch *gdbarch, iterate_over_regset_sections_cb *cb, void *cb_data, const struct regcache *regcache) |
static CORE_ADDR | vax_store_arguments (struct regcache *regcache, int nargs, struct value **args, CORE_ADDR sp) |
static CORE_ADDR | vax_push_dummy_call (struct gdbarch *gdbarch, struct value *function, struct regcache *regcache, CORE_ADDR bp_addr, int nargs, struct value **args, CORE_ADDR sp, function_call_return_method return_method, CORE_ADDR struct_addr) |
static struct frame_id | vax_dummy_id (struct gdbarch *gdbarch, frame_info_ptr this_frame) |
static enum return_value_convention | vax_return_value (struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) |
typedef | BP_MANIPULATION (vax_break_insn) |
static struct vax_frame_cache * | vax_frame_cache (frame_info_ptr this_frame, void **this_cache) |
static void | vax_frame_this_id (frame_info_ptr this_frame, void **this_cache, struct frame_id *this_id) |
static struct value * | vax_frame_prev_register (frame_info_ptr this_frame, void **this_cache, int regnum) |
static CORE_ADDR | vax_frame_base_address (frame_info_ptr this_frame, void **this_cache) |
static CORE_ADDR | vax_frame_args_address (frame_info_ptr this_frame, void **this_cache) |
static int | vax_frame_num_args (frame_info_ptr frame) |
static struct gdbarch * | vax_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) |
void | _initialize_vax_tdep () |
Variables | |
static const struct regset | vax_gregset |
constexpr gdb_byte | vax_break_insn [] = { 3 } |
static const struct frame_unwind | vax_frame_unwind |
static const struct frame_base | vax_frame_base |
void _initialize_vax_tdep | ( | ) |
Definition at line 511 of file vax-tdep.c.
References gdbarch_register(), and vax_gdbarch_init().
typedef BP_MANIPULATION | ( | vax_break_insn | ) |
Definition at line 255 of file vax-tdep.c.
References gdbarch_byte_order(), and read_memory_unsigned_integer().
|
static |
Definition at line 190 of file vax-tdep.c.
References frame_id_build(), get_frame_pc(), get_frame_register_unsigned(), and VAX_FP_REGNUM.
Referenced by vax_gdbarch_init().
|
static |
Definition at line 410 of file vax-tdep.c.
References get_frame_register_unsigned(), and VAX_AP_REGNUM.
|
static |
Definition at line 402 of file vax-tdep.c.
References vax_frame_cache::base, and vax_frame_cache().
|
static |
Definition at line 306 of file vax-tdep.c.
References vax_frame_cache::base, FRAME_OBSTACK_ZALLOC, get_frame_memory_unsigned(), get_frame_register_unsigned(), regnum, vax_frame_cache::saved_regs, trad_frame_saved_reg::set_addr(), trad_frame_saved_reg::set_value(), trad_frame_alloc_saved_regs(), VAX_AP_REGNUM, VAX_FP_REGNUM, VAX_PC_REGNUM, VAX_PS_REGNUM, and VAX_SP_REGNUM.
Referenced by vax_frame_base_address(), vax_frame_prev_register(), and vax_frame_this_id().
|
static |
Definition at line 426 of file vax-tdep.c.
References get_frame_base_address(), get_frame_memory_unsigned(), get_frame_register_unsigned(), and VAX_AP_REGNUM.
Referenced by vax_gdbarch_init().
|
static |
Definition at line 381 of file vax-tdep.c.
References regnum, vax_frame_cache::saved_regs, trad_frame_get_prev_register(), and vax_frame_cache().
|
static |
Definition at line 368 of file vax-tdep.c.
References vax_frame_cache::base, frame_id_build(), get_frame_func(), and vax_frame_cache().
|
static |
Definition at line 449 of file vax-tdep.c.
References arches, core_addr_lessthan(), floatformats_vax_d, floatformats_vax_f, frame_base_set_default(), frame_unwind_append_unwinder(), gdbarch_alloc(), gdbarch_init_osabi(), gdbarch_list_lookup_by_info(), gdbarch::info(), set_gdbarch_believe_pcc_promotion(), set_gdbarch_breakpoint_kind_from_pc(), set_gdbarch_deprecated_function_start_offset(), set_gdbarch_double_format(), set_gdbarch_dummy_id(), set_gdbarch_float_format(), set_gdbarch_frame_args_skip(), set_gdbarch_frame_num_args(), set_gdbarch_inner_than(), set_gdbarch_iterate_over_regset_sections(), set_gdbarch_long_double_bit(), set_gdbarch_long_double_format(), set_gdbarch_num_regs(), set_gdbarch_pc_regnum(), set_gdbarch_ps_regnum(), set_gdbarch_push_dummy_call(), set_gdbarch_register_name(), set_gdbarch_register_type(), set_gdbarch_return_value(), set_gdbarch_skip_prologue(), set_gdbarch_sp_regnum(), set_gdbarch_sw_breakpoint_from_kind(), vax_dummy_id(), vax_frame_base, vax_frame_num_args(), vax_frame_unwind, vax_iterate_over_regset_sections(), VAX_NUM_REGS, VAX_PC_REGNUM, VAX_PS_REGNUM, vax_push_dummy_call(), vax_register_name(), vax_register_type(), vax_return_value(), and VAX_SP_REGNUM.
Referenced by _initialize_vax_tdep().
|
static |
Definition at line 92 of file vax-tdep.c.
References vax_gregset, and VAX_NUM_REGS.
Referenced by vax_gdbarch_init().
|
static |
Definition at line 140 of file vax-tdep.c.
References regcache::cooked_write(), gdbarch_byte_order(), regcache_cooked_write_unsigned(), return_method_struct, store_unsigned_integer(), VAX_FP_REGNUM, VAX_R1_REGNUM, VAX_SP_REGNUM, vax_store_arguments(), and write_memory().
Referenced by vax_gdbarch_init().
|
static |
Definition at line 39 of file vax-tdep.c.
References gdb_static_assert(), regnum, and VAX_NUM_REGS.
Referenced by vax_gdbarch_init().
Definition at line 56 of file vax-tdep.c.
References builtin_type::builtin_int, and builtin_type().
Referenced by vax_gdbarch_init().
|
static |
Definition at line 200 of file vax-tdep.c.
References type::code(), readable_regcache::cooked_read(), regcache::cooked_write(), type::length(), read_memory(), regcache_raw_read_unsigned(), RETURN_VALUE_ABI_RETURNS_ADDRESS, RETURN_VALUE_REGISTER_CONVENTION, VAX_R0_REGNUM, and VAX_R1_REGNUM.
Referenced by vax_gdbarch_init().
|
static |
Definition at line 105 of file vax-tdep.c.
References reg_buffer::arch(), regcache::cooked_write(), gdbarch_byte_order(), store_unsigned_integer(), VAX_AP_REGNUM, and write_memory().
Referenced by vax_push_dummy_call().
|
static |
Definition at line 68 of file vax-tdep.c.
References reg_buffer::raw_supply(), regnum, and VAX_NUM_REGS.
|
constexpr |
Definition at line 253 of file vax-tdep.c.
|
static |
Definition at line 415 of file vax-tdep.c.
Referenced by vax_gdbarch_init().
|
static |
Definition at line 389 of file vax-tdep.c.
Referenced by vax_gdbarch_init().
|
static |
Definition at line 83 of file vax-tdep.c.
Referenced by vax_iterate_over_regset_sections().