|
GDB (xrefs)
|
#include "defs.h"#include "osabi.h"#include "amd64-tdep.h"#include "x86-xstate.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"#include <algorithm>Go to the source code of this file.
Classes | |
| struct | amd64_windows_frame_cache |
Variables | |
| static int | amd64_windows_dummy_call_integer_regs [] |
| static enum amd64_regnum | amd64_windows_w2gdb_regnum [] |
| static const struct frame_unwind | amd64_windows_frame_unwind |
| void _initialize_amd64_windows_tdep | ( | void | ) |
Definition at line 1249 of file amd64-windows-tdep.c.
References amd64_windows_init_abi(), GDB_OSABI_CYGWIN, and gdbarch_register_osabi().
Definition at line 343 of file amd64-windows-tdep.c.
References extract_signed_integer(), gdbarch_byte_order(), lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, MSYMBOL_LINKAGE_NAME, and target_read_memory().
Referenced by amd64_windows_init_abi().
|
static |
Definition at line 107 of file amd64-windows-tdep.c.
References amd64_windows_passed_by_pointer(), TYPE_LENGTH, value_addr(), value_contents(), value_from_contents_and_address(), value_type(), and write_memory().
Referenced by amd64_windows_push_arguments().
|
static |
Definition at line 1207 of file amd64-windows-tdep.c.
Referenced by amd64_windows_init_abi().
|
static |
Definition at line 934 of file amd64-windows-tdep.c.
References ANOFFSET, extract_unsigned_integer(), find_pc_section(), fprintf_unfiltered(), frame_debug, gdb_stdlog, gdbarch_byte_order(), objfile::obfd, obj_section::objfile, objfile::objfile(), paddress(), SECT_OFF_TEXT, objfile::section_offsets, and target_read_memory().
Referenced by amd64_windows_frame_cache(), and amd64_windows_skip_prologue().
|
static |
Definition at line 1012 of file amd64-windows-tdep.c.
References AMD64_RSP_REGNUM, amd64_windows_find_unwind_info(), amd64_windows_frame_decode_insns(), gdbarch::byte_order, amd64_windows_frame_cache::end_rva, extract_unsigned_integer(), FRAME_OBSTACK_ZALLOC, gdbarch_byte_order(), get_frame_arch(), get_frame_pc(), get_frame_register(), amd64_windows_frame_cache::image_base, amd64_windows_frame_cache::pc, amd64_windows_frame_cache::prev_rip_addr, amd64_windows_frame_cache::prev_sp, amd64_windows_frame_cache::sp, and amd64_windows_frame_cache::start_rva.
Referenced by amd64_windows_frame_prev_register(), and amd64_windows_frame_this_id().
|
static |
Definition at line 438 of file amd64-windows-tdep.c.
References amd64_windows_w2gdb_regnum, gdbarch::byte_order, extract_signed_integer(), extract_unsigned_integer(), gdbarch_byte_order(), get_frame_arch(), amd64_windows_frame_cache::pc, pc_in_range(), amd64_windows_frame_cache::prev_reg_addr, amd64_windows_frame_cache::prev_rip_addr, amd64_windows_frame_cache::prev_sp, QUIT, amd64_windows_frame_cache::sp, and target_read_memory().
Referenced by amd64_windows_frame_decode_insns().
|
static |
Definition at line 618 of file amd64-windows-tdep.c.
References amd64_windows_frame_decode_epilogue(), amd64_windows_w2gdb_regnum, gdbarch::byte_order, amd64_windows_frame_cache::end_rva, extract_unsigned_integer(), fprintf_unfiltered(), frame_debug, gdb_stdlog, gdbarch_byte_order(), gdbarch_register_name(), get_frame_arch(), get_frame_register(), amd64_windows_frame_cache::image_base, memset(), paddress(), amd64_windows_frame_cache::pc, amd64_windows_frame_cache::prev_reg_addr, amd64_windows_frame_cache::prev_rip_addr, amd64_windows_frame_cache::prev_rsp_addr, amd64_windows_frame_cache::prev_sp, amd64_windows_frame_cache::prev_xmm_addr, QUIT, amd64_windows_frame_cache::sp, amd64_windows_frame_cache::start_rva, and target_read_memory().
Referenced by amd64_windows_frame_cache().
|
static |
Definition at line 1057 of file amd64-windows-tdep.c.
References AMD64_R15_REGNUM, AMD64_RAX_REGNUM, AMD64_RIP_REGNUM, AMD64_RSP_REGNUM, amd64_windows_frame_cache(), AMD64_XMM0_REGNUM, fprintf_unfiltered(), frame_debug, frame_unwind_got_constant(), frame_unwind_got_memory(), frame_unwind_got_register(), gdb_stdlog, gdbarch_register_name(), get_frame_arch(), paddress(), amd64_windows_frame_cache::prev_reg_addr, amd64_windows_frame_cache::prev_rip_addr, amd64_windows_frame_cache::prev_rsp_addr, amd64_windows_frame_cache::prev_sp, amd64_windows_frame_cache::prev_xmm_addr, and regnum.
|
static |
Definition at line 1105 of file amd64-windows-tdep.c.
References amd64_windows_frame_cache(), frame_id_build(), amd64_windows_frame_cache::image_base, amd64_windows_frame_cache::prev_sp, and amd64_windows_frame_cache::start_rva.
|
static |
Definition at line 1213 of file amd64-windows-tdep.c.
References amd64_init_abi(), amd64_skip_main_prologue(), amd64_target_description(), amd64_windows_auto_wide_charset(), amd64_windows_frame_unwind, amd64_windows_push_dummy_call(), amd64_windows_return_value(), amd64_windows_skip_prologue(), amd64_windows_skip_trampoline_code(), frame_unwind_append_unwinder(), set_gdbarch_auto_wide_charset(), set_gdbarch_long_bit(), set_gdbarch_push_dummy_call(), set_gdbarch_return_value(), set_gdbarch_skip_main_prologue(), set_gdbarch_skip_prologue(), set_gdbarch_skip_trampoline_code(), windows_init_abi(), and X86_XSTATE_SSE_MASK.
Referenced by _initialize_amd64_windows_tdep().
|
static |
Definition at line 49 of file amd64-windows-tdep.c.
References TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_INT, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_RVALUE_REF, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_LENGTH.
Referenced by amd64_windows_passed_by_pointer(), and amd64_windows_push_arguments().
|
static |
Definition at line 88 of file amd64-windows-tdep.c.
References amd64_windows_passed_by_integer_register(), and amd64_windows_passed_by_xmm_register().
Referenced by amd64_windows_adjust_args_passed_by_pointer().
|
static |
Definition at line 77 of file amd64-windows-tdep.c.
References TYPE_CODE, TYPE_CODE_DECFLOAT, TYPE_CODE_FLT, and TYPE_LENGTH.
Referenced by amd64_windows_passed_by_pointer(), and amd64_windows_push_arguments().
|
static |
Definition at line 158 of file amd64-windows-tdep.c.
References amd64_windows_adjust_args_passed_by_pointer(), amd64_windows_dummy_call_integer_regs, amd64_windows_passed_by_integer_register(), amd64_windows_passed_by_xmm_register(), amd64_windows_store_arg_in_reg(), AMD64_XMM0_REGNUM, TYPE_LENGTH, value_contents(), value_type(), and write_memory().
Referenced by amd64_windows_push_dummy_call().
|
static |
Definition at line 245 of file amd64-windows-tdep.c.
References AMD64_RBP_REGNUM, AMD64_RSP_REGNUM, amd64_windows_dummy_call_integer_regs, amd64_windows_push_arguments(), gdbarch_byte_order(), regcache_cooked_write(), store_unsigned_integer(), and write_memory().
Referenced by amd64_windows_init_abi().
|
static |
Definition at line 290 of file amd64-windows-tdep.c.
References AMD64_RAX_REGNUM, AMD64_XMM0_REGNUM, read_memory(), regcache_raw_read_part(), regcache_raw_read_unsigned(), regcache_raw_write_part(), regnum, RETURN_VALUE_ABI_RETURNS_ADDRESS, RETURN_VALUE_REGISTER_CONVENTION, TYPE_CODE, TYPE_CODE_DECFLOAT, TYPE_CODE_FLT, and TYPE_LENGTH.
Referenced by amd64_windows_init_abi().
Definition at line 1130 of file amd64-windows-tdep.c.
References amd64_windows_find_unwind_info(), find_pc_partial_function(), skip_prologue_using_sal(), and target_read_memory().
Referenced by amd64_windows_init_abi().
|
static |
Definition at line 1170 of file amd64-windows-tdep.c.
References gdbarch::byte_order, gdbarch_byte_order(), get_frame_arch(), lookup_minimal_symbol_by_pc(), bound_minimal_symbol::minsym, MSYMBOL_LINKAGE_NAME, offset, read_memory_unsigned_integer(), and startswith().
Referenced by amd64_windows_init_abi().
|
static |
Definition at line 138 of file amd64-windows-tdep.c.
References gdb_assert, memset(), regcache_cooked_write(), TYPE_LENGTH, value_contents(), and value_type().
Referenced by amd64_windows_push_arguments().
|
static |
Definition at line 426 of file amd64-windows-tdep.c.
References amd64_windows_frame_cache::end_rva, amd64_windows_frame_cache::image_base, and amd64_windows_frame_cache::start_rva.
Referenced by amd64_windows_frame_decode_epilogue().
|
static |
Definition at line 37 of file amd64-windows-tdep.c.
Referenced by amd64_windows_push_arguments(), and amd64_windows_push_dummy_call().
|
static |
Definition at line 1117 of file amd64-windows-tdep.c.
Referenced by amd64_windows_init_abi().
|
static |
Definition at line 402 of file amd64-windows-tdep.c.
Referenced by amd64_windows_frame_decode_epilogue(), and amd64_windows_frame_decode_insns().
1.8.14