GDB (xrefs)
Classes | Functions | Variables
/home/stan/gdb/src/gdb/vax-tdep.c File Reference
#include "defs.h"
#include "arch-utils.h"
#include "dis-asm.h"
#include "floatformat.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 "gdb_string.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 typevax_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 struct regsetvax_regset_from_core_section (struct gdbarch *gdbarch, const char *sect_name, size_t sect_size)
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, int struct_return, CORE_ADDR struct_addr)
static struct frame_id vax_dummy_id (struct gdbarch *gdbarch, struct frame_info *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)
static const gdb_bytevax_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pc, int *len)
static CORE_ADDR vax_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
static struct vax_frame_cachevax_frame_cache (struct frame_info *this_frame, void **this_cache)
static void vax_frame_this_id (struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
static struct valuevax_frame_prev_register (struct frame_info *this_frame, void **this_cache, int regnum)
static CORE_ADDR vax_frame_base_address (struct frame_info *this_frame, void **this_cache)
static CORE_ADDR vax_frame_args_address (struct frame_info *this_frame, void **this_cache)
static int vax_frame_num_args (struct frame_info *frame)
static CORE_ADDR vax_unwind_pc (struct gdbarch *gdbarch, struct frame_info *next_frame)
static struct gdbarchvax_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
void _initialize_vax_tdep (void)

Variables

static struct regset vax_gregset
static struct frame_unwind vax_frame_unwind
static struct frame_base vax_frame_base

Function Documentation

void _initialize_vax_tdep ( void  )
static const gdb_byte* vax_breakpoint_from_pc ( struct gdbarch gdbarch,
CORE_ADDR pc,
int len 
) [static]

Definition at line 260 of file vax-tdep.c.

Referenced by vax_gdbarch_init().

static struct frame_id vax_dummy_id ( struct gdbarch gdbarch,
struct frame_info this_frame 
) [static, read]

Definition at line 196 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 CORE_ADDR vax_frame_args_address ( struct frame_info this_frame,
void **  this_cache 
) [static]

Definition at line 420 of file vax-tdep.c.

References get_frame_register_unsigned(), and VAX_AP_REGNUM.

static CORE_ADDR vax_frame_base_address ( struct frame_info this_frame,
void **  this_cache 
) [static]

Definition at line 412 of file vax-tdep.c.

References vax_frame_cache::base, and vax_frame_cache().

static struct vax_frame_cache* vax_frame_cache ( struct frame_info this_frame,
void **  this_cache 
) [static, read]
static int vax_frame_num_args ( struct frame_info frame) [static]
static struct value* vax_frame_prev_register ( struct frame_info this_frame,
void **  this_cache,
int  regnum 
) [static, read]
static void vax_frame_this_id ( struct frame_info this_frame,
void **  this_cache,
struct frame_id this_id 
) [static]
static struct gdbarch* vax_gdbarch_init ( struct gdbarch_info  info,
struct gdbarch_list arches 
) [static, read]
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,
int  struct_return,
CORE_ADDR  struct_addr 
) [static]
static const char* vax_register_name ( struct gdbarch gdbarch,
int  regnum 
) [static]

Definition at line 42 of file vax-tdep.c.

References regnum.

Referenced by vax_gdbarch_init().

static struct type* vax_register_type ( struct gdbarch gdbarch,
int  regnum 
) [static, read]

Definition at line 61 of file vax-tdep.c.

References builtin_type::builtin_int, and builtin_type().

Referenced by vax_gdbarch_init().

static struct regset* vax_regset_from_core_section ( struct gdbarch gdbarch,
const char *  sect_name,
size_t  sect_size 
) [static, read]

Definition at line 98 of file vax-tdep.c.

References vax_gregset, and VAX_NUM_REGS.

Referenced by vax_gdbarch_init().

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 
) [static]
static CORE_ADDR vax_skip_prologue ( struct gdbarch gdbarch,
CORE_ADDR  pc 
) [static]

Definition at line 272 of file vax-tdep.c.

References gdbarch_byte_order(), and read_memory_unsigned_integer().

Referenced by vax_gdbarch_init().

static CORE_ADDR vax_store_arguments ( struct regcache regcache,
int  nargs,
struct value **  args,
CORE_ADDR  sp 
) [static]
static void vax_supply_gregset ( const struct regset regset,
struct regcache regcache,
int  regnum,
const void *  gregs,
size_t  len 
) [static]

Definition at line 73 of file vax-tdep.c.

References regcache_raw_supply(), and VAX_NUM_REGS.

static CORE_ADDR vax_unwind_pc ( struct gdbarch gdbarch,
struct frame_info next_frame 
) [static]

Definition at line 450 of file vax-tdep.c.

References frame_unwind_register_unsigned(), and VAX_PC_REGNUM.

Referenced by vax_gdbarch_init().


Variable Documentation

struct frame_base vax_frame_base [static]
struct frame_unwind vax_frame_unwind [static]
struct regset vax_gregset [static]
Initial value:

Definition at line 88 of file vax-tdep.c.

Referenced by vax_regset_from_core_section().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines