GDBserver
|
#include "server.h"
#include <signal.h>
#include <limits.h>
#include <inttypes.h>
#include "linux-low.h"
#include "i387-fp.h"
#include "x86-low.h"
#include "x86-xstate.h"
#include "gdb_proc_service.h"
#include "elf/common.h"
#include "agent.h"
#include "tdesc.h"
#include "tracepoint.h"
#include "ax.h"
#include "nat/linux-nat.h"
#include "nat/x86-linux.h"
#include "nat/x86-linux-dregs.h"
#include <sys/reg.h>
#include <sys/procfs.h>
#include <sys/ptrace.h>
#include <sys/uio.h>
Go to the source code of this file.
Classes | |
struct | arch_process_info |
Macros | |
#define | PTRACE_GET_THREAD_AREA 25 |
#define | PTRACE_ARCH_PRCTL 30 |
#define | ARCH_SET_GS 0x1001 |
#define | ARCH_SET_FS 0x1002 |
#define | ARCH_GET_FS 0x1003 |
#define | ARCH_GET_GS 0x1004 |
#define | I386_NUM_REGS (sizeof (i386_regmap) / sizeof (i386_regmap[0])) |
#define | REGSIZE 4 |
#define | x86_breakpoint_len 1 |
#define | I386_LINUX_XSAVE_XCR0_OFFSET 464 |
#define | EMIT_ASM(NAME, INSNS) |
#define | EMIT_ASM32(NAME, INSNS) EMIT_ASM(NAME,INSNS) |
Functions | |
void | init_registers_i386_linux (void) |
void | init_registers_i386_mmx_linux (void) |
void | init_registers_i386_avx_linux (void) |
void | init_registers_i386_avx512_linux (void) |
void | init_registers_i386_mpx_linux (void) |
ps_err_e | ps_get_thread_area (const struct ps_prochandle *ph, lwpid_t lwpid, int idx, void **base) |
static int | x86_get_thread_area (int lwpid, CORE_ADDR *addr) |
static int | x86_cannot_store_register (int regno) |
static int | x86_cannot_fetch_register (int regno) |
static void | x86_fill_gregset (struct regcache *regcache, void *buf) |
static void | x86_store_gregset (struct regcache *regcache, const void *buf) |
static void | x86_fill_fpregset (struct regcache *regcache, void *buf) |
static void | x86_store_fpregset (struct regcache *regcache, const void *buf) |
static void | x86_fill_fpxregset (struct regcache *regcache, void *buf) |
static void | x86_store_fpxregset (struct regcache *regcache, const void *buf) |
static void | x86_fill_xstateregset (struct regcache *regcache, void *buf) |
static void | x86_store_xstateregset (struct regcache *regcache, const void *buf) |
static CORE_ADDR | x86_get_pc (struct regcache *regcache) |
static void | x86_set_pc (struct regcache *regcache, CORE_ADDR pc) |
static int | x86_breakpoint_at (CORE_ADDR pc) |
static int | x86_supports_z_point_type (char z_type) |
static int | x86_insert_point (enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp) |
static int | x86_remove_point (enum raw_bkpt_type type, CORE_ADDR addr, int size, struct raw_breakpoint *bp) |
static int | x86_stopped_by_watchpoint (void) |
static CORE_ADDR | x86_stopped_data_address (void) |
static struct arch_process_info * | x86_linux_new_process (void) |
static void | x86_linux_new_fork (struct process_info *parent, struct process_info *child) |
struct x86_debug_reg_state * | x86_debug_reg_state (pid_t pid) |
static int | x86_siginfo_fixup (siginfo_t *native, void *inf, int direction) |
static const struct target_desc * | x86_linux_read_description (void) |
static int | same_process_callback (struct inferior_list_entry *entry, void *data) |
static void | x86_arch_setup_process_callback (struct inferior_list_entry *entry) |
static void | x86_linux_update_xmltarget (void) |
static void | x86_linux_process_qsupported (const char *query) |
const struct regs_info * | x86_linux_regs_info (void) |
static void | x86_arch_setup (void) |
static int | x86_supports_tracepoints (void) |
static void | append_insns (CORE_ADDR *to, size_t len, const unsigned char *buf) |
static int | push_opcode (unsigned char *buf, char *op) |
static int | i386_install_fast_tracepoint_jump_pad (CORE_ADDR tpoint, CORE_ADDR tpaddr, CORE_ADDR collector, CORE_ADDR lockaddr, ULONGEST orig_size, CORE_ADDR *jump_entry, CORE_ADDR *trampoline, ULONGEST *trampoline_size, unsigned char *jjump_pad_insn, ULONGEST *jjump_pad_insn_size, CORE_ADDR *adjusted_insn_addr, CORE_ADDR *adjusted_insn_addr_end, char *err) |
static int | x86_install_fast_tracepoint_jump_pad (CORE_ADDR tpoint, CORE_ADDR tpaddr, CORE_ADDR collector, CORE_ADDR lockaddr, ULONGEST orig_size, CORE_ADDR *jump_entry, CORE_ADDR *trampoline, ULONGEST *trampoline_size, unsigned char *jjump_pad_insn, ULONGEST *jjump_pad_insn_size, CORE_ADDR *adjusted_insn_addr, CORE_ADDR *adjusted_insn_addr_end, char *err) |
static int | x86_get_min_fast_tracepoint_insn_len (void) |
static void | add_insns (unsigned char *start, int len) |
static void | i386_emit_prologue (void) |
static void | i386_emit_epilogue (void) |
static void | i386_emit_add (void) |
static void | i386_emit_sub (void) |
static void | i386_emit_mul (void) |
static void | i386_emit_lsh (void) |
static void | i386_emit_rsh_signed (void) |
static void | i386_emit_rsh_unsigned (void) |
static void | i386_emit_ext (int arg) |
static void | i386_emit_log_not (void) |
static void | i386_emit_bit_and (void) |
static void | i386_emit_bit_or (void) |
static void | i386_emit_bit_xor (void) |
static void | i386_emit_bit_not (void) |
static void | i386_emit_equal (void) |
static void | i386_emit_less_signed (void) |
static void | i386_emit_less_unsigned (void) |
static void | i386_emit_ref (int size) |
static void | i386_emit_if_goto (int *offset_p, int *size_p) |
static void | i386_emit_goto (int *offset_p, int *size_p) |
static void | i386_write_goto_address (CORE_ADDR from, CORE_ADDR to, int size) |
static void | i386_emit_const (LONGEST num) |
static void | i386_emit_call (CORE_ADDR fn) |
static void | i386_emit_reg (int reg) |
static void | i386_emit_pop (void) |
static void | i386_emit_stack_flush (void) |
static void | i386_emit_zero_ext (int arg) |
static void | i386_emit_swap (void) |
static void | i386_emit_stack_adjust (int n) |
static void | i386_emit_int_call_1 (CORE_ADDR fn, int arg1) |
static void | i386_emit_void_call_2 (CORE_ADDR fn, int arg1) |
void | i386_emit_eq_goto (int *offset_p, int *size_p) |
void | i386_emit_ne_goto (int *offset_p, int *size_p) |
void | i386_emit_lt_goto (int *offset_p, int *size_p) |
void | i386_emit_le_goto (int *offset_p, int *size_p) |
void | i386_emit_gt_goto (int *offset_p, int *size_p) |
void | i386_emit_ge_goto (int *offset_p, int *size_p) |
static struct emit_ops * | x86_emit_ops (void) |
static int | x86_supports_range_stepping (void) |
void | initialize_low_arch (void) |
Variables | |
const struct target_desc * | tdesc_i386_linux |
const struct target_desc * | tdesc_i386_mmx_linux |
const struct target_desc * | tdesc_i386_avx_linux |
const struct target_desc * | tdesc_i386_avx512_linux |
const struct target_desc * | tdesc_i386_mpx_linux |
static struct target_desc * | tdesc_i386_linux_no_xml |
static unsigned char | jump_insn [] = { 0xe9, 0, 0, 0, 0 } |
static unsigned char | small_jump_insn [] = { 0x66, 0xe9, 0, 0 } |
static const char * | xmltarget_i386_linux_no_xml |
static int | i386_regmap [] |
static struct regset_info | x86_regsets [] |
static const unsigned char | x86_breakpoint [] = { 0xCC } |
struct x86_dr_low_type | x86_dr_low |
static int | use_xml |
int | have_ptrace_getfpxregs |
static int | have_ptrace_getregset = -1 |
static struct regsets_info | x86_regsets_info |
static struct usrregs_info | i386_linux_usrregs_info |
static struct regs_info | i386_linux_regs_info |
struct emit_ops | i386_emit_ops |
struct linux_target_ops | the_low_target |
#define ARCH_GET_FS 0x1003 |
Definition at line 137 of file linux-x86-low.c.
Referenced by ps_get_thread_area(), and x86_get_thread_area().
#define ARCH_GET_GS 0x1004 |
Definition at line 138 of file linux-x86-low.c.
Referenced by ps_get_thread_area().
#define ARCH_SET_FS 0x1002 |
Definition at line 136 of file linux-x86-low.c.
#define ARCH_SET_GS 0x1001 |
Definition at line 135 of file linux-x86-low.c.
#define EMIT_ASM | ( | NAME, | |
INSNS | |||
) |
Definition at line 1953 of file linux-x86-low.c.
#define EMIT_ASM32 | ( | NAME, | |
INSNS | |||
) | EMIT_ASM(NAME,INSNS) |
Definition at line 1981 of file linux-x86-low.c.
Referenced by i386_emit_add(), i386_emit_bit_and(), i386_emit_bit_not(), i386_emit_bit_or(), i386_emit_bit_xor(), i386_emit_epilogue(), i386_emit_eq_goto(), i386_emit_equal(), i386_emit_ext(), i386_emit_ge_goto(), i386_emit_goto(), i386_emit_gt_goto(), i386_emit_if_goto(), i386_emit_int_call_1(), i386_emit_le_goto(), i386_emit_less_signed(), i386_emit_less_unsigned(), i386_emit_log_not(), i386_emit_lt_goto(), i386_emit_ne_goto(), i386_emit_pop(), i386_emit_prologue(), i386_emit_ref(), i386_emit_reg(), i386_emit_stack_flush(), i386_emit_sub(), i386_emit_swap(), i386_emit_void_call_2(), and i386_emit_zero_ext().
#define I386_LINUX_XSAVE_XCR0_OFFSET 464 |
Definition at line 1131 of file linux-x86-low.c.
Referenced by x86_linux_read_description().
#define I386_NUM_REGS (sizeof (i386_regmap) / sizeof (i386_regmap[0])) |
Definition at line 209 of file linux-x86-low.c.
Referenced by x86_cannot_fetch_register(), x86_cannot_store_register(), x86_fill_gregset(), and x86_store_gregset().
#define PTRACE_ARCH_PRCTL 30 |
Definition at line 129 of file linux-x86-low.c.
Referenced by ps_get_thread_area(), and x86_get_thread_area().
#define PTRACE_GET_THREAD_AREA 25 |
Definition at line 124 of file linux-x86-low.c.
Referenced by ps_get_thread_area(), and x86_get_thread_area().
#define REGSIZE 4 |
Definition at line 211 of file linux-x86-low.c.
Referenced by x86_fill_gregset(), and x86_store_gregset().
#define x86_breakpoint_len 1 |
Definition at line 505 of file linux-x86-low.c.
|
static |
Definition at line 1935 of file linux-x86-low.c.
References append_insns(), current_insn_ptr, debug_printf(), debug_threads, and paddress().
|
static |
Definition at line 1444 of file linux-x86-low.c.
References write_inferior_memory().
Referenced by add_insns(), i386_emit_call(), i386_emit_const(), i386_emit_int_call_1(), i386_emit_reg(), i386_emit_stack_adjust(), i386_emit_void_call_2(), and i386_install_fast_tracepoint_jump_pad().
|
static |
Definition at line 2594 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2676 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2703 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2685 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2694 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2866 of file linux-x86-low.c.
References append_insns(), current_insn_ptr, and offset.
Referenced by i386_emit_int_call_1(), i386_emit_reg(), and i386_emit_void_call_2().
|
static |
Definition at line 2839 of file linux-x86-low.c.
References append_insns(), and current_insn_ptr.
|
static |
Definition at line 2581 of file linux-x86-low.c.
References EMIT_ASM32.
void i386_emit_eq_goto | ( | int * | offset_p, |
int * | size_p | ||
) |
Definition at line 3041 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2711 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2637 of file linux-x86-low.c.
References EMIT_ASM32, and emit_error.
void i386_emit_ge_goto | ( | int * | offset_p, |
int * | size_p | ||
) |
Definition at line 3170 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2810 of file linux-x86-low.c.
References EMIT_ASM32.
void i386_emit_gt_goto | ( | int * | offset_p, |
int * | size_p | ||
) |
Definition at line 3144 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2792 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2978 of file linux-x86-low.c.
References append_insns(), current_insn_ptr, EMIT_ASM32, and i386_emit_call().
void i386_emit_le_goto | ( | int * | offset_p, |
int * | size_p | ||
) |
Definition at line 3118 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2729 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2748 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2665 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2619 of file linux-x86-low.c.
References emit_error.
void i386_emit_lt_goto | ( | int * | offset_p, |
int * | size_p | ||
) |
Definition at line 3092 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2613 of file linux-x86-low.c.
References emit_error.
void i386_emit_ne_goto | ( | int * | offset_p, |
int * | size_p | ||
) |
Definition at line 3066 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2908 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2570 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2767 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2882 of file linux-x86-low.c.
References append_insns(), current_insn_ptr, EMIT_ASM32, get_raw_reg_func_addr(), and i386_emit_call().
|
static |
Definition at line 2625 of file linux-x86-low.c.
References emit_error.
|
static |
Definition at line 2631 of file linux-x86-low.c.
References emit_error.
|
static |
Definition at line 2960 of file linux-x86-low.c.
References append_insns(), and current_insn_ptr.
|
static |
Definition at line 2916 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2603 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 2948 of file linux-x86-low.c.
References EMIT_ASM32.
|
static |
Definition at line 3006 of file linux-x86-low.c.
References append_insns(), current_insn_ptr, EMIT_ASM32, and i386_emit_call().
|
static |
Definition at line 2924 of file linux-x86-low.c.
References EMIT_ASM32, and emit_error.
|
static |
Definition at line 1667 of file linux-x86-low.c.
References append_insns(), claim_trampoline_space(), jump_insn, offset, push_opcode(), relocate_instruction(), small_jump_insn, and write_inferior_memory().
Referenced by x86_install_fast_tracepoint_jump_pad().
Definition at line 2822 of file linux-x86-low.c.
References emit_error, and write_inferior_memory().
void init_registers_i386_avx512_linux | ( | void | ) |
Definition at line 108 of file i386-avx512-linux.c.
References target_desc::expedite_regs, expedite_regs_i386_avx512_linux, init_target_desc(), target_desc::num_registers, target_desc::reg_defs, regs_i386_avx512_linux, target_desc::xmltarget, and xmltarget_i386_avx512_linux.
Referenced by initialize_low_arch().
void init_registers_i386_avx_linux | ( | void | ) |
Definition at line 86 of file i386-avx-linux.c.
References target_desc::expedite_regs, expedite_regs_i386_avx_linux, init_target_desc(), target_desc::num_registers, target_desc::reg_defs, regs_i386_avx_linux, target_desc::xmltarget, and xmltarget_i386_avx_linux.
Referenced by initialize_low_arch().
void init_registers_i386_linux | ( | void | ) |
Definition at line 78 of file i386-linux.c.
References target_desc::expedite_regs, expedite_regs_i386_linux, init_target_desc(), target_desc::num_registers, target_desc::reg_defs, regs_i386_linux, target_desc::xmltarget, and xmltarget_i386_linux.
Referenced by initialize_low_arch().
void init_registers_i386_mmx_linux | ( | void | ) |
Definition at line 78 of file i386-mmx-linux.c.
References target_desc::expedite_regs, expedite_regs_i386_mmx_linux, init_target_desc(), target_desc::num_registers, target_desc::reg_defs, regs_i386_mmx_linux, target_desc::xmltarget, and xmltarget_i386_mmx_linux.
Referenced by initialize_low_arch().
void init_registers_i386_mpx_linux | ( | void | ) |
Definition at line 92 of file i386-mpx-linux.c.
References target_desc::expedite_regs, expedite_regs_i386_mpx_linux, init_target_desc(), target_desc::num_registers, target_desc::reg_defs, regs_i386_mpx_linux, target_desc::xmltarget, and xmltarget_i386_mpx_linux.
Referenced by initialize_low_arch().
void initialize_low_arch | ( | void | ) |
Definition at line 3297 of file linux-x86-low.c.
References copy_target_description(), init_registers_amd64_avx512_linux(), init_registers_amd64_avx_linux(), init_registers_amd64_linux(), init_registers_amd64_mpx_linux(), init_registers_i386_avx512_linux(), init_registers_i386_avx_linux(), init_registers_i386_linux(), init_registers_i386_mmx_linux(), init_registers_i386_mpx_linux(), init_registers_x32_avx512_linux(), init_registers_x32_avx_linux(), init_registers_x32_linux(), xmalloc(), target_desc::xmltarget, and xmltarget_i386_linux_no_xml.
ps_err_e ps_get_thread_area | ( | const struct ps_prochandle * | ph, |
lwpid_t | lwpid, | ||
int | idx, | ||
void ** | base | ||
) |
Definition at line 234 of file linux-x86-low.c.
References ARCH_GET_FS, ARCH_GET_GS, PS_BADADDR, PS_ERR, PS_OK, PTRACE_ARCH_PRCTL, and PTRACE_GET_THREAD_AREA.
|
static |
Definition at line 1451 of file linux-x86-low.c.
Referenced by i386_install_fast_tracepoint_jump_pad().
|
static |
Definition at line 1316 of file linux-x86-low.c.
References inferior_list_entry::id, and ptid_get_pid().
Referenced by x86_arch_setup_process_callback().
|
static |
Definition at line 1432 of file linux-x86-low.c.
References current_process(), process_info::tdesc, and x86_linux_read_description().
|
static |
Definition at line 1327 of file linux-x86-low.c.
References all_threads, linux_target_ops::arch_setup, current_thread, find_inferior(), inferior_list_entry::id, ptid_get_pid(), same_process_callback(), and the_low_target.
Referenced by x86_linux_update_xmltarget().
|
static |
Definition at line 508 of file linux-x86-low.c.
References target_ops::read_memory, and the_target.
|
static |
Definition at line 333 of file linux-x86-low.c.
References I386_NUM_REGS.
|
static |
Definition at line 322 of file linux-x86-low.c.
References I386_NUM_REGS.
struct x86_debug_reg_state* x86_debug_reg_state | ( | pid_t | pid | ) |
Definition at line 659 of file linux-x86-low.c.
References process_info_private::arch_private, arch_process_info::debug_reg_state, find_process_pid(), and process_info::priv.
Referenced by x86_linux_update_debug_registers().
|
static |
Definition at line 3238 of file linux-x86-low.c.
References i386_emit_ops.
|
static |
Definition at line 392 of file linux-x86-low.c.
References i387_cache_to_fsave(), and i387_cache_to_fxsave().
|
static |
Definition at line 414 of file linux-x86-low.c.
References i387_cache_to_fxsave().
|
static |
Definition at line 344 of file linux-x86-low.c.
References collect_register(), collect_register_by_name(), I386_NUM_REGS, i386_regmap, register_size(), REGSIZE, and regcache::tdesc.
|
static |
Definition at line 428 of file linux-x86-low.c.
References i387_cache_to_xsave().
|
static |
Definition at line 1891 of file linux-x86-low.c.
References agent_loaded_p(), have_fast_tracepoint_trampoline_buffer(), IPA_BUFSIZ, and warning().
Definition at line 469 of file linux-x86-low.c.
References collect_register_by_name(), register_size(), and regcache::tdesc.
|
static |
Definition at line 278 of file linux-x86-low.c.
References ARCH_GET_FS, collect_register_by_name(), find_lwp_pid(), get_lwp_thread, get_thread_regcache(), lwpid_of, pid_to_ptid(), PTRACE_ARCH_PRCTL, and PTRACE_GET_THREAD_AREA.
|
static |
Definition at line 548 of file linux-x86-low.c.
References process_info_private::arch_private, current_process(), arch_process_info::debug_reg_state, process_info::priv, raw_bkpt_type_access_wp, raw_bkpt_type_hw, raw_bkpt_type_to_target_hw_bp_type(), raw_bkpt_type_write_wp, and x86_dr_insert_watchpoint().
|
static |
Definition at line 1850 of file linux-x86-low.c.
References i386_install_fast_tracepoint_jump_pad().
|
static |
Definition at line 631 of file linux-x86-low.c.
References process_info_private::arch_private, gdb_assert, and process_info::priv.
|
static |
Definition at line 619 of file linux-x86-low.c.
References arch_process_info::debug_reg_state, and x86_low_init_dregs().
|
static |
Definition at line 1361 of file linux-x86-low.c.
References startswith(), x86_linux_update_xmltarget(), and xstrdup().
|
static |
Definition at line 1150 of file linux-x86-low.c.
References _, current_thread, error(), gdb_assert_not_reached, I386_LINUX_XSAVE_XCR0_OFFSET, linux_pid_exe_is_elf_64_file(), lwpid_of, PTRACE_GETREGSET, tdesc_amd64_avx512_linux, tdesc_amd64_avx_linux, tdesc_amd64_linux, tdesc_amd64_mpx_linux, tdesc_i386_avx512_linux, tdesc_i386_avx_linux, tdesc_i386_linux, tdesc_i386_linux_no_xml, tdesc_i386_mmx_linux, tdesc_i386_mpx_linux, tdesc_x32_avx512_linux, tdesc_x32_avx_linux, tdesc_x32_linux, x86_regsets, x86_xcr0, X86_XSTATE_ALL_MASK, X86_XSTATE_AVX512_MASK, X86_XSTATE_AVX_MASK, X86_XSTATE_MPX_MASK, X86_XSTATE_SIZE, X86_XSTATE_SSE_MASK, and X86_XSTATE_SSE_SIZE.
Referenced by x86_arch_setup().
const struct regs_info* x86_linux_regs_info | ( | void | ) |
Definition at line 1418 of file linux-x86-low.c.
References i386_linux_regs_info.
|
static |
Definition at line 1343 of file linux-x86-low.c.
References all_processes, current_thread, for_each_inferior(), regcache_release(), and x86_arch_setup_process_callback().
Referenced by x86_linux_process_qsupported().
|
static |
Definition at line 574 of file linux-x86-low.c.
References process_info_private::arch_private, current_process(), arch_process_info::debug_reg_state, process_info::priv, raw_bkpt_type_access_wp, raw_bkpt_type_hw, raw_bkpt_type_to_target_hw_bp_type(), raw_bkpt_type_write_wp, and x86_dr_remove_watchpoint().
Definition at line 488 of file linux-x86-low.c.
References register_size(), supply_register_by_name(), and regcache::tdesc.
|
static |
Definition at line 1072 of file linux-x86-low.c.
References current_thread, gdb_assert, linux_pid_exe_is_elf_64_file(), and lwpid_of.
|
static |
Definition at line 599 of file linux-x86-low.c.
References process_info_private::arch_private, current_process(), arch_process_info::debug_reg_state, process_info::priv, and x86_dr_stopped_by_watchpoint().
|
static |
Definition at line 606 of file linux-x86-low.c.
References process_info_private::arch_private, current_process(), arch_process_info::debug_reg_state, process_info::priv, and x86_dr_stopped_data_address().
|
static |
Definition at line 402 of file linux-x86-low.c.
References i387_fsave_to_cache(), and i387_fxsave_to_cache().
|
static |
Definition at line 420 of file linux-x86-low.c.
References i387_fxsave_to_cache().
|
static |
Definition at line 370 of file linux-x86-low.c.
References I386_NUM_REGS, i386_regmap, register_size(), REGSIZE, supply_register(), supply_register_by_name(), and regcache::tdesc.
|
static |
Definition at line 434 of file linux-x86-low.c.
References i387_xsave_to_cache().
|
static |
Definition at line 3249 of file linux-x86-low.c.
|
static |
Definition at line 1438 of file linux-x86-low.c.
|
static |
Definition at line 533 of file linux-x86-low.c.
References Z_PACKET_ACCESS_WP, Z_PACKET_HW_BP, Z_PACKET_SW_BP, and Z_PACKET_WRITE_WP.
int have_ptrace_getfpxregs |
Definition at line 1136 of file linux-x86-low.c.
|
static |
Definition at line 1145 of file linux-x86-low.c.
struct emit_ops i386_emit_ops |
Definition at line 3195 of file linux-x86-low.c.
Referenced by x86_emit_ops().
|
static |
Definition at line 1410 of file linux-x86-low.c.
Referenced by x86_linux_regs_info().
|
static |
Definition at line 1404 of file linux-x86-low.c.
|
static |
Definition at line 201 of file linux-x86-low.c.
Referenced by x86_fill_gregset(), and x86_store_gregset().
|
static |
Definition at line 101 of file linux-x86-low.c.
Referenced by i386_install_fast_tracepoint_jump_pad().
|
static |
Definition at line 102 of file linux-x86-low.c.
Referenced by i386_install_fast_tracepoint_jump_pad().
const struct target_desc* tdesc_i386_avx512_linux |
Definition at line 105 of file i386-avx512-linux.c.
Referenced by x86_linux_read_description().
const struct target_desc* tdesc_i386_avx_linux |
Definition at line 83 of file i386-avx-linux.c.
Referenced by x86_linux_read_description().
const struct target_desc* tdesc_i386_linux |
Definition at line 75 of file i386-linux.c.
Referenced by x86_linux_read_description().
|
static |
Definition at line 98 of file linux-x86-low.c.
Referenced by x86_linux_read_description().
const struct target_desc* tdesc_i386_mmx_linux |
Definition at line 75 of file i386-mmx-linux.c.
Referenced by x86_linux_read_description().
const struct target_desc* tdesc_i386_mpx_linux |
Definition at line 89 of file i386-mpx-linux.c.
Referenced by x86_linux_read_description().
struct linux_target_ops the_low_target |
Definition at line 3257 of file linux-x86-low.c.
Referenced by x86_arch_setup_process_callback().
|
static |
Definition at line 1110 of file linux-x86-low.c.
|
static |
Definition at line 504 of file linux-x86-low.c.
struct x86_dr_low_type x86_dr_low |
Definition at line 520 of file linux-x86-low.c.
|
static |
Definition at line 446 of file linux-x86-low.c.
Referenced by x86_linux_read_description().
|
static |
Definition at line 1389 of file linux-x86-low.c.
|
static |
Definition at line 106 of file linux-x86-low.c.
Referenced by initialize_low_arch().