GDB (xrefs)
Classes | Functions | Variables
/home/stan/gdb/src/gdb/amd64-windows-tdep.c File Reference
#include "defs.h"
#include "osabi.h"
#include "amd64-tdep.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "regcache.h"
#include "windows-tdep.h"
#include "frame.h"
#include "objfiles.h"
#include "frame-unwind.h"
#include "coff/internal.h"
#include "coff/i386.h"
#include "coff/pe.h"
#include "libcoff.h"
#include "value.h"

Go to the source code of this file.

Classes

struct  amd64_windows_frame_cache

Functions

static int amd64_windows_passed_by_integer_register (struct type *type)
static int amd64_windows_passed_by_xmm_register (struct type *type)
static int amd64_windows_passed_by_pointer (struct type *type)
static CORE_ADDR amd64_windows_adjust_args_passed_by_pointer (struct value **args, int nargs, CORE_ADDR sp)
static void amd64_windows_store_arg_in_reg (struct regcache *regcache, struct value *arg, int regno)
static CORE_ADDR amd64_windows_push_arguments (struct regcache *regcache, int nargs, struct value **args, CORE_ADDR sp, int struct_return)
static CORE_ADDR amd64_windows_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 enum return_value_convention amd64_windows_return_value (struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf)
static CORE_ADDR amd64_skip_main_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
static int pc_in_range (CORE_ADDR pc, const struct amd64_windows_frame_cache *cache)
static int amd64_windows_frame_decode_epilogue (struct frame_info *this_frame, struct amd64_windows_frame_cache *cache)
static void amd64_windows_frame_decode_insns (struct frame_info *this_frame, struct amd64_windows_frame_cache *cache, CORE_ADDR unwind_info)
static int amd64_windows_find_unwind_info (struct gdbarch *gdbarch, CORE_ADDR pc, CORE_ADDR *unwind_info, CORE_ADDR *image_base, CORE_ADDR *start_rva, CORE_ADDR *end_rva)
static struct
amd64_windows_frame_cache
amd64_windows_frame_cache (struct frame_info *this_frame, void **this_cache)
static struct valueamd64_windows_frame_prev_register (struct frame_info *this_frame, void **this_cache, int regnum)
static void amd64_windows_frame_this_id (struct frame_info *this_frame, void **this_cache, struct frame_id *this_id)
static CORE_ADDR amd64_windows_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
static CORE_ADDR amd64_windows_skip_trampoline_code (struct frame_info *frame, CORE_ADDR pc)
static const char * amd64_windows_auto_wide_charset (void)
static void amd64_windows_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
void _initialize_amd64_windows_tdep (void)

Variables

static int amd64_windows_dummy_call_integer_regs []
static enum amd64_regnum amd64_windows_w2gdb_regnum []
static struct frame_unwind amd64_windows_frame_unwind
initialize_file_ftype _initialize_amd64_windows_tdep

Function Documentation

static CORE_ADDR amd64_skip_main_prologue ( struct gdbarch gdbarch,
CORE_ADDR  pc 
) [static]
static CORE_ADDR amd64_windows_adjust_args_passed_by_pointer ( struct value **  args,
int  nargs,
CORE_ADDR  sp 
) [static]
static const char* amd64_windows_auto_wide_charset ( void  ) [static]

Definition at line 1153 of file amd64-windows-tdep.c.

Referenced by amd64_windows_init_abi().

static int amd64_windows_find_unwind_info ( struct gdbarch gdbarch,
CORE_ADDR  pc,
CORE_ADDR unwind_info,
CORE_ADDR image_base,
CORE_ADDR start_rva,
CORE_ADDR end_rva 
) [static]
static struct amd64_windows_frame_cache* amd64_windows_frame_cache ( struct frame_info this_frame,
void **  this_cache 
) [static, read]
static int amd64_windows_frame_decode_epilogue ( struct frame_info this_frame,
struct amd64_windows_frame_cache cache 
) [static]
static void amd64_windows_frame_decode_insns ( struct frame_info this_frame,
struct amd64_windows_frame_cache cache,
CORE_ADDR  unwind_info 
) [static]
static struct value* amd64_windows_frame_prev_register ( struct frame_info this_frame,
void **  this_cache,
int  regnum 
) [static, read]
static void amd64_windows_frame_this_id ( struct frame_info this_frame,
void **  this_cache,
struct frame_id this_id 
) [static]
static void amd64_windows_init_abi ( struct gdbarch_info  info,
struct gdbarch gdbarch 
) [static]
static int amd64_windows_passed_by_integer_register ( struct type type) [static]
static int amd64_windows_passed_by_pointer ( struct type type) [static]
static int amd64_windows_passed_by_xmm_register ( struct type type) [static]
static CORE_ADDR amd64_windows_push_arguments ( struct regcache regcache,
int  nargs,
struct value **  args,
CORE_ADDR  sp,
int  struct_return 
) [static]
static CORE_ADDR amd64_windows_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 enum return_value_convention amd64_windows_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 amd64_windows_skip_prologue ( struct gdbarch gdbarch,
CORE_ADDR  pc 
) [static]
static CORE_ADDR amd64_windows_skip_trampoline_code ( struct frame_info frame,
CORE_ADDR  pc 
) [static]
static void amd64_windows_store_arg_in_reg ( struct regcache regcache,
struct value arg,
int  regno 
) [static]
static int pc_in_range ( CORE_ADDR  pc,
const struct amd64_windows_frame_cache cache 
) [static]

Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines