GDB (xrefs)
|
#include "defs.h"
#include "inferior.h"
#include "target.h"
#include "gdbcore.h"
#include "regcache.h"
#include "ia64-tdep.h"
#include "linux-nat.h"
#include <signal.h>
#include <sys/ptrace.h>
#include "gdb_wait.h"
#include <sys/reg.h>
#include <sys/syscall.h>
#include <sys/user.h>
#include <asm/ptrace_offsets.h>
#include <sys/procfs.h>
#include "gregset.h"
Go to the source code of this file.
Macros | |
#define | COPY_REG(_idx_, _regi_) |
#define | IA64_PSR_DB (1UL << 24) |
#define | IA64_PSR_DD (1UL << 39) |
Variables | |
static int | u_offsets [] |
static long | debug_registers [8] |
static target_xfer_partial_ftype * | super_xfer_partial |
#define COPY_REG | ( | _idx_, | |
_regi_ | |||
) |
Referenced by fill_gregset().
#define IA64_PSR_DB (1UL << 24) |
Definition at line 488 of file ia64-linux-nat.c.
Referenced by enable_watchpoints_in_psr().
#define IA64_PSR_DD (1UL << 39) |
Definition at line 489 of file ia64-linux-nat.c.
Referenced by ia64_linux_stopped_data_address().
void _initialize_ia64_linux_nat | ( | void | ) |
Definition at line 898 of file ia64-linux-nat.c.
References ia64_linux_can_use_hw_breakpoint(), ia64_linux_fetch_registers(), ia64_linux_insert_watchpoint(), ia64_linux_new_thread(), ia64_linux_remove_watchpoint(), ia64_linux_status_is_event(), ia64_linux_stopped_by_watchpoint(), ia64_linux_stopped_data_address(), ia64_linux_store_registers(), ia64_linux_xfer_partial(), linux_nat_add_target(), linux_nat_set_new_thread(), linux_nat_set_status_is_event(), linux_target(), super_xfer_partial, target_ops::to_can_use_hw_breakpoint, target_ops::to_fetch_registers, target_ops::to_have_steppable_watchpoint, target_ops::to_insert_watchpoint, target_ops::to_remove_watchpoint, target_ops::to_stopped_by_watchpoint, target_ops::to_stopped_data_address, target_ops::to_store_registers, and target_ops::to_xfer_partial.
|
static |
Definition at line 492 of file ia64-linux-nat.c.
References get_thread_regcache(), IA64_PSR_DB, IA64_PSR_REGNUM, regcache_cooked_read_unsigned(), and regcache_cooked_write_unsigned().
Referenced by ia64_linux_insert_watchpoint(), and ia64_linux_new_thread().
void fill_fpregset | ( | const struct regcache * | regcache, |
fpregset_t * | fpregsetp, | ||
int | regno | ||
) |
Definition at line 475 of file ia64-linux-nat.c.
References IA64_FR0_REGNUM, IA64_FR127_REGNUM, and regcache_raw_collect().
Definition at line 402 of file ia64-linux-nat.c.
References COPY_REG, IA64_BR0_REGNUM, IA64_BR7_REGNUM, IA64_BSP_REGNUM, IA64_BSPSTORE_REGNUM, IA64_CCV_REGNUM, IA64_CFM_REGNUM, IA64_EC_REGNUM, IA64_FPSR_REGNUM, IA64_GR0_REGNUM, IA64_GR31_REGNUM, IA64_IP_REGNUM, IA64_LC_REGNUM, IA64_PFS_REGNUM, IA64_PR_REGNUM, IA64_PSR_REGNUM, IA64_RNAT_REGNUM, IA64_RSC_REGNUM, and IA64_UNAT_REGNUM.
Definition at line 319 of file ia64-linux-nat.c.
References gdbarch_num_regs(), and u_offsets.
Referenced by ia64_linux_fetch_register().
Definition at line 327 of file ia64-linux-nat.c.
References gdbarch_num_regs(), IA64_BSPSTORE_REGNUM, and u_offsets.
Referenced by ia64_linux_store_register().
|
static |
Definition at line 680 of file ia64-linux-nat.c.
Referenced by _initialize_ia64_linux_nat().
Definition at line 690 of file ia64-linux-nat.c.
References _, error(), gdb_assert, gdbarch_register_name(), get_regcache_arch(), ia64_cannot_fetch_register(), IA64_FR0_REGNUM, IA64_FR1_REGNUM, IA64_GR0_REGNUM, ia64_register_addr(), inferior_ptid, pid, PT_READ_U, ptid_get_lwp(), ptid_get_pid(), ptrace(), PTRACE_TYPE_ARG3, PTRACE_TYPE_RET, regcache_raw_supply(), register_size(), safe_strerror(), and size.
Referenced by ia64_linux_fetch_registers().
|
static |
Definition at line 767 of file ia64-linux-nat.c.
References gdbarch_num_regs(), get_regcache_arch(), and ia64_linux_fetch_register().
Referenced by _initialize_ia64_linux_nat().
|
static |
Definition at line 544 of file ia64-linux-nat.c.
References ALL_LWPS, debug_registers, enable_watchpoints_in_psr(), hw_access, hw_read, hw_write, is_power_of_2(), L, gdb.printing::long, lwp_info::ptid, and store_debug_register_pair().
Referenced by _initialize_ia64_linux_nat().
|
static |
Definition at line 633 of file ia64-linux-nat.c.
References debug_registers, enable_watchpoints_in_psr(), lwp_info::ptid, and store_debug_register().
Referenced by _initialize_ia64_linux_nat().
|
static |
Definition at line 599 of file ia64-linux-nat.c.
References ALL_LWPS, debug_registers, is_power_of_2(), lwp_info::ptid, and store_debug_register_pair().
Referenced by _initialize_ia64_linux_nat().
Definition at line 889 of file ia64-linux-nat.c.
References WIFSTOPPED, and WSTOPSIG.
Referenced by _initialize_ia64_linux_nat().
|
static |
Definition at line 673 of file ia64-linux-nat.c.
References ia64_linux_stopped_data_address().
Referenced by _initialize_ia64_linux_nat().
|
static |
Definition at line 650 of file ia64-linux-nat.c.
References get_current_regcache(), IA64_PSR_DD, IA64_PSR_REGNUM, inferior_ptid, linux_nat_get_siginfo(), regcache_cooked_read_unsigned(), and regcache_cooked_write_unsigned().
Referenced by _initialize_ia64_linux_nat(), and ia64_linux_stopped_by_watchpoint().
Definition at line 782 of file ia64-linux-nat.c.
References _, error(), gdb_assert, gdbarch_register_name(), get_regcache_arch(), ia64_cannot_store_register(), ia64_register_addr(), inferior_ptid, pid, PT_WRITE_U, ptid_get_lwp(), ptid_get_pid(), ptrace(), PTRACE_TYPE_ARG3, PTRACE_TYPE_RET, regcache_raw_collect(), register_size(), safe_strerror(), and size.
Referenced by ia64_linux_store_registers().
|
static |
Definition at line 825 of file ia64-linux-nat.c.
References gdbarch_num_regs(), get_regcache_arch(), and ia64_linux_store_register().
Referenced by _initialize_ia64_linux_nat().
|
static |
Definition at line 843 of file ia64-linux-nat.c.
References gdb_assert, len, offset, super_xfer_partial, TARGET_OBJECT_UNWIND_TABLE, TARGET_XFER_E_IO, TARGET_XFER_EOF, and TARGET_XFER_OK.
Referenced by _initialize_ia64_linux_nat().
Definition at line 303 of file ia64-linux-nat.c.
References _, error(), gdbarch_num_regs(), and u_offsets.
Referenced by ia64_linux_fetch_register(), and ia64_linux_store_register().
Definition at line 531 of file ia64-linux-nat.c.
Referenced by ia64_linux_insert_watchpoint(), and ia64_linux_remove_watchpoint().
Definition at line 509 of file ia64-linux-nat.c.
References PT_WRITE_U, ptid_get_lwp(), ptid_get_pid(), ptrace(), and PTRACE_TYPE_ARG3.
Referenced by ia64_linux_new_thread(), and store_debug_register_pair().
|
static |
Definition at line 521 of file ia64-linux-nat.c.
References store_debug_register().
Referenced by ia64_linux_insert_watchpoint(), and ia64_linux_remove_watchpoint().
void supply_fpregset | ( | struct regcache * | regcache, |
const fpregset_t * | fpregsetp | ||
) |
Definition at line 445 of file ia64-linux-nat.c.
References from, IA64_FR0_REGNUM, IA64_FR127_REGNUM, IA64_FR1_REGNUM, IA64_FR2_REGNUM, and regcache_raw_supply().
Definition at line 365 of file ia64-linux-nat.c.
References IA64_BR0_REGNUM, IA64_BR7_REGNUM, IA64_BSP_REGNUM, IA64_BSPSTORE_REGNUM, IA64_CCV_REGNUM, IA64_CFM_REGNUM, IA64_EC_REGNUM, IA64_FPSR_REGNUM, IA64_GR0_REGNUM, IA64_GR31_REGNUM, IA64_IP_REGNUM, IA64_LC_REGNUM, IA64_PFS_REGNUM, IA64_PR_REGNUM, IA64_PSR_REGNUM, IA64_RNAT_REGNUM, IA64_RSC_REGNUM, IA64_UNAT_REGNUM, and regcache_raw_supply().
|
static |
Definition at line 506 of file ia64-linux-nat.c.
Referenced by ia64_linux_insert_watchpoint(), ia64_linux_new_thread(), and ia64_linux_remove_watchpoint().
|
static |
Definition at line 838 of file ia64-linux-nat.c.
Referenced by _initialize_ia64_linux_nat(), and ia64_linux_xfer_partial().
|
static |
Definition at line 49 of file ia64-linux-nat.c.
Referenced by ia64_cannot_fetch_register(), ia64_cannot_store_register(), and ia64_register_addr().