GDB (xrefs)
|
Go to the source code of this file.
Classes | |
union | nat_sigval_t |
struct | nat_siginfo_t |
struct | compat_timeval |
union | compat_sigval_t |
struct | compat_siginfo_t |
Macros | |
#define | GDB_SI_SIZE 128 |
#define | cpt_si_pid _sifields._kill._pid |
#define | cpt_si_uid _sifields._kill._uid |
#define | cpt_si_timerid _sifields._timer._tid |
#define | cpt_si_overrun _sifields._timer._overrun |
#define | cpt_si_status _sifields._sigchld._status |
#define | cpt_si_utime _sifields._sigchld._utime |
#define | cpt_si_stime _sifields._sigchld._stime |
#define | cpt_si_ptr _sifields._rt._sigval.sival_ptr |
#define | cpt_si_addr _sifields._sigfault._addr |
#define | cpt_si_addr_lsb _sifields._sigfault._addr_lsb |
#define | cpt_si_lower _sifields._sigfault.si_addr_bnd._lower |
#define | cpt_si_upper _sifields._sigfault.si_addr_bnd._upper |
#define | cpt_si_band _sifields._sigpoll._band |
#define | cpt_si_fd _sifields._sigpoll._fd |
#define | si_timerid si_timer1 |
#define | si_overrun si_timer2 |
#define | SEGV_BNDERR 3 |
Typedefs | |
typedef int | nat_int_t |
typedef unsigned long | nat_uptr_t |
typedef int | nat_time_t |
typedef int | nat_timer_t |
typedef long | nat_clock_t |
typedef int | compat_int_t |
typedef unsigned int | compat_uptr_t |
typedef int | compat_time_t |
typedef int | compat_timer_t |
typedef int | compat_clock_t |
typedef long | __attribute__((__aligned__(4))) |
typedef nat_siginfo_t | ptrace_siginfo_t |
Functions | |
static void | compat_siginfo_from_siginfo (compat_siginfo_t *to, const siginfo_t *from) |
static void | siginfo_from_compat_siginfo (siginfo_t *to, const compat_siginfo_t *from) |
static void | compat_x32_siginfo_from_siginfo (compat_x32_siginfo_t *to, const siginfo_t *from) |
static void | siginfo_from_compat_x32_siginfo (siginfo_t *to, const compat_x32_siginfo_t *from) |
int | amd64_linux_siginfo_fixup_common (siginfo_t *ptrace, gdb_byte *inf, int direction, enum amd64_siginfo_fixup_mode mode) |
gdb_static_assert (sizeof(siginfo_t)==GDB_SI_SIZE) | |
gdb_static_assert (sizeof(nat_siginfo_t)==GDB_SI_SIZE) | |
gdb_static_assert (sizeof(compat_x32_siginfo_t)==GDB_SI_SIZE) | |
gdb_static_assert (sizeof(compat_siginfo_t)==GDB_SI_SIZE) | |
#define cpt_si_addr _sifields._sigfault._addr |
Definition at line 278 of file amd64-linux-siginfo.c.
#define cpt_si_addr_lsb _sifields._sigfault._addr_lsb |
Definition at line 279 of file amd64-linux-siginfo.c.
#define cpt_si_band _sifields._sigpoll._band |
Definition at line 282 of file amd64-linux-siginfo.c.
#define cpt_si_fd _sifields._sigpoll._fd |
Definition at line 283 of file amd64-linux-siginfo.c.
#define cpt_si_lower _sifields._sigfault.si_addr_bnd._lower |
Definition at line 280 of file amd64-linux-siginfo.c.
#define cpt_si_overrun _sifields._timer._overrun |
Definition at line 273 of file amd64-linux-siginfo.c.
#define cpt_si_pid _sifields._kill._pid |
Definition at line 270 of file amd64-linux-siginfo.c.
#define cpt_si_ptr _sifields._rt._sigval.sival_ptr |
Definition at line 277 of file amd64-linux-siginfo.c.
#define cpt_si_status _sifields._sigchld._status |
Definition at line 274 of file amd64-linux-siginfo.c.
#define cpt_si_stime _sifields._sigchld._stime |
Definition at line 276 of file amd64-linux-siginfo.c.
#define cpt_si_timerid _sifields._timer._tid |
Definition at line 272 of file amd64-linux-siginfo.c.
#define cpt_si_uid _sifields._kill._uid |
Definition at line 271 of file amd64-linux-siginfo.c.
#define cpt_si_upper _sifields._sigfault.si_addr_bnd._upper |
Definition at line 281 of file amd64-linux-siginfo.c.
#define cpt_si_utime _sifields._sigchld._utime |
Definition at line 275 of file amd64-linux-siginfo.c.
#define GDB_SI_SIZE 128 |
Definition at line 24 of file amd64-linux-siginfo.c.
#define SEGV_BNDERR 3 |
Definition at line 296 of file amd64-linux-siginfo.c.
Referenced by compat_siginfo_from_siginfo().
#define si_overrun si_timer2 |
Definition at line 292 of file amd64-linux-siginfo.c.
#define si_timerid si_timer1 |
Definition at line 289 of file amd64-linux-siginfo.c.
char *UP __attribute__ |
Definition at line 207 of file amd64-linux-siginfo.c.
typedef int compat_clock_t |
Definition at line 128 of file amd64-linux-siginfo.c.
typedef int compat_int_t |
Definition at line 123 of file amd64-linux-siginfo.c.
typedef int compat_time_t |
Definition at line 126 of file amd64-linux-siginfo.c.
typedef int compat_timer_t |
Definition at line 127 of file amd64-linux-siginfo.c.
typedef unsigned int compat_uptr_t |
Definition at line 124 of file amd64-linux-siginfo.c.
typedef long nat_clock_t |
Definition at line 46 of file amd64-linux-siginfo.c.
typedef int nat_int_t |
Definition at line 39 of file amd64-linux-siginfo.c.
typedef int nat_time_t |
Definition at line 42 of file amd64-linux-siginfo.c.
typedef int nat_timer_t |
Definition at line 43 of file amd64-linux-siginfo.c.
typedef unsigned long nat_uptr_t |
Definition at line 40 of file amd64-linux-siginfo.c.
typedef nat_siginfo_t ptrace_siginfo_t |
Definition at line 305 of file amd64-linux-siginfo.c.
int amd64_linux_siginfo_fixup_common | ( | siginfo_t * | ptrace, |
gdb_byte * | inf, | ||
int | direction, | ||
enum amd64_siginfo_fixup_mode | mode ) |
Definition at line 578 of file amd64-linux-siginfo.c.
References compat_siginfo_from_siginfo(), compat_x32_siginfo_from_siginfo(), FIXUP_32, FIXUP_X32, ptrace, siginfo_from_compat_siginfo(), and siginfo_from_compat_x32_siginfo().
Referenced by amd64_linux_nat_target::low_siginfo_fixup().
|
static |
Definition at line 311 of file amd64-linux-siginfo.c.
References SEGV_BNDERR, nat_siginfo_t::si_code, compat_siginfo_t::si_code, nat_siginfo_t::si_errno, compat_siginfo_t::si_errno, nat_siginfo_t::si_signo, and compat_siginfo_t::si_signo.
Referenced by amd64_linux_siginfo_fixup_common().
|
static |
Definition at line 445 of file amd64-linux-siginfo.c.
References nat_siginfo_t::si_code, nat_siginfo_t::si_errno, and nat_siginfo_t::si_signo.
Referenced by amd64_linux_siginfo_fixup_common().
gdb_static_assert | ( | sizeof(compat_siginfo_t) | = =GDB_SI_SIZE | ) |
gdb_static_assert | ( | sizeof(compat_x32_siginfo_t) | = =GDB_SI_SIZE | ) |
gdb_static_assert | ( | sizeof(nat_siginfo_t) | = =GDB_SI_SIZE | ) |
gdb_static_assert | ( | sizeof(siginfo_t) | = =GDB_SI_SIZE | ) |
|
static |
Definition at line 383 of file amd64-linux-siginfo.c.
References nat_siginfo_t::si_code, compat_siginfo_t::si_code, nat_siginfo_t::si_errno, compat_siginfo_t::si_errno, nat_siginfo_t::si_signo, and compat_siginfo_t::si_signo.
Referenced by amd64_linux_siginfo_fixup_common().
|
static |
Definition at line 511 of file amd64-linux-siginfo.c.
References nat_siginfo_t::si_code, nat_siginfo_t::si_errno, and nat_siginfo_t::si_signo.
Referenced by amd64_linux_siginfo_fixup_common().