GDB (xrefs)
|
#include "defs.h"
#include "x86-nat.h"
#include "inferior.h"
#include "floatformat.h"
#include "regcache.h"
#include <mach.h>
#include <mach_error.h>
#include <mach/message.h>
#include <mach/exception.h>
#include "i386-tdep.h"
#include "gnu-nat.h"
#include "inf-child.h"
#include "i387-tdep.h"
Go to the source code of this file.
Macros | |
#define | REG_OFFSET(reg) offsetof (struct i386_thread_state, reg) |
#define | REG_ADDR(state, regnum) ((char *)(state) + reg_offset[regnum]) |
Functions | |
static void | fetch_fpregs (struct regcache *regcache, struct proc *thread) |
static void | gnu_fetch_registers (struct target_ops *ops, struct regcache *regcache, int regno) |
static void | store_fpregs (const struct regcache *regcache, struct proc *thread, int regno) |
static void | gnu_store_registers (struct target_ops *ops, struct regcache *regcache, int regno) |
void | _initialize_i386gnu_nat (void) |
Variables | |
static int | reg_offset [] |
initialize_file_ftype | _initialize_i386gnu_nat |
#define REG_ADDR | ( | state, | |
regnum | |||
) | ((char *)(state) + reg_offset[regnum]) |
Definition at line 50 of file i386gnu-nat.c.
Referenced by gnu_fetch_registers(), and gnu_store_registers().
Definition at line 38 of file i386gnu-nat.c.
void _initialize_i386gnu_nat | ( | void | ) |
Definition at line 412 of file i386gnu-nat.c.
References add_target(), DR_FIRSTADDR, DR_LASTADDR, gdb_assert, x86_dr_low_type::get_addr, x86_dr_low_type::get_control, x86_dr_low_type::get_status, gnu_fetch_registers(), gnu_store_registers(), gnu_target(), x86_dr_low_type::set_addr, x86_dr_low_type::set_control, target_ops::to_fetch_registers, target_ops::to_store_registers, x86_dr_low, x86_set_debug_register_length(), and x86_use_watchpoints().
Definition at line 57 of file i386gnu-nat.c.
References _, err, i387_supply_fsave(), proc::port, proc_string(), and warning().
Referenced by gnu_fetch_registers().
|
static |
Definition at line 86 of file i386gnu-nat.c.
References _, error(), fetch_fpregs(), proc::fetched_regs, gdbarch_register_name(), get_regcache_arch(), gnu_current_inf, I386_NUM_GREGS, inf_tid_to_thread(), inf_update_procs(), inferior_ptid, proc_debug, proc_get_state(), proc_string(), ptid_get_lwp(), REG_ADDR, regcache_raw_supply(), proc::state, target_pid_to_str(), and warning().
Referenced by _initialize_i386gnu_nat().
|
static |
Definition at line 178 of file i386gnu-nat.c.
References _, proc::aborted, error(), proc::fetched_regs, gdb_assert, gdbarch_register_name(), get_regcache_arch(), gnu_current_inf, I386_NUM_GREGS, inf_tid_to_thread(), inf_update_procs(), inferior_ptid, proc_debug, proc_get_state(), proc_string(), ptid_get_lwp(), REG_ADDR, REG_VALID, regcache_raw_collect(), regcache_raw_supply(), regcache_register_status(), register_size(), proc::state, proc::state_valid, store_fpregs(), target_pid_to_str(), and warning().
Referenced by _initialize_i386gnu_nat().
|
static |
Definition at line 147 of file i386gnu-nat.c.
References _, err, i387_collect_fsave(), proc::port, proc_string(), and warning().
Referenced by gnu_store_registers().
initialize_file_ftype _initialize_i386gnu_nat |
|
static |
Definition at line 42 of file i386gnu-nat.c.
Referenced by amd64_native_gregset_reg_offset(), bfin_linux_sigframe_init(), hppanbsd_sigtramp_cache_init(), i386nbsd_sigtramp_cache_init(), mips_xfer_register(), read_frame_register_value(), read_pieced_value(), score_xfer_register(), store_regs(), tic6x_linux_rt_sigreturn_init(), and write_pieced_value().