GDB (API)
|
#include "defs.h"
#include "inferior.h"
#include "gdbcore.h"
#include "regcache.h"
#include "linux-nat.h"
#include "target-descriptions.h"
#include "auxv.h"
#include "gdbcmd.h"
#include "aarch64-tdep.h"
#include "aarch64-linux-tdep.h"
#include "elf/common.h"
#include <sys/ptrace.h>
#include <sys/utsname.h>
#include "gregset.h"
#include "features/aarch64.c"
#include "gdb_proc_service.h"
Go to the source code of this file.
Defines | |
#define | TRAP_HWBKPT 0x0004 |
#define | AARCH64_HBP_MAX_NUM 16 |
#define | AARCH64_HWP_MAX_NUM 16 |
#define | AARCH64_HBP_ALIGNMENT 4 |
#define | AARCH64_HWP_ALIGNMENT 8 |
#define | AARCH64_HWP_MAX_LEN_PER_REG 8 |
#define | AARCH64_DEBUG_NUM_SLOTS(x) ((x) & 0xff) |
#define | AARCH64_DEBUG_ARCH(x) (((x) >> 8) & 0xff) |
#define | AARCH64_DEBUG_ARCH_V8 0x6 |
#define | DR_MARK_ALL_CHANGED(x, m) |
#define | DR_MARK_N_CHANGED(x, n) |
#define | DR_CLEAR_CHANGED(x) |
#define | DR_HAS_CHANGED(x) ((x) != 0) |
#define | DR_N_HAS_CHANGED(x, n) ((x) & ((dr_changed_t)1 << (n))) |
#define | DR_CONTROL_ENABLED(ctrl) (((ctrl) & 0x1) == 1) |
#define | DR_CONTROL_LENGTH(ctrl) (((ctrl) >> 5) & 0xff) |
Typedefs | |
typedef unsigned LONGEST | dr_changed_t |
Functions | |
void | fill_gregset (const struct regcache *regcache, gdb_gregset_t *gregsetp, int regno) |
void | supply_gregset (struct regcache *regcache, const gdb_gregset_t *gregsetp) |
void | fill_fpregset (const struct regcache *regcache, gdb_fpregset_t *fpregsetp, int regno) |
void | supply_fpregset (struct regcache *regcache, const gdb_fpregset_t *fpregsetp) |
ps_err_e | ps_get_thread_area (const struct ps_prochandle *ph, lwpid_t lwpid, int idx, void **base) |
void | _initialize_aarch64_linux_nat (void) |
#define AARCH64_DEBUG_ARCH | ( | x | ) | (((x) >> 8) & 0xff) |
Definition at line 109 of file aarch64-linux-nat.c.
#define AARCH64_DEBUG_ARCH_V8 0x6 |
Definition at line 112 of file aarch64-linux-nat.c.
#define AARCH64_DEBUG_NUM_SLOTS | ( | x | ) | ((x) & 0xff) |
Definition at line 108 of file aarch64-linux-nat.c.
#define AARCH64_HBP_ALIGNMENT 4 |
Definition at line 91 of file aarch64-linux-nat.c.
#define AARCH64_HBP_MAX_NUM 16 |
Definition at line 76 of file aarch64-linux-nat.c.
#define AARCH64_HWP_ALIGNMENT 8 |
Definition at line 92 of file aarch64-linux-nat.c.
#define AARCH64_HWP_MAX_LEN_PER_REG 8 |
Definition at line 97 of file aarch64-linux-nat.c.
#define AARCH64_HWP_MAX_NUM 16 |
Definition at line 77 of file aarch64-linux-nat.c.
#define DR_CLEAR_CHANGED | ( | x | ) |
do \ { \ (x) = 0; \ } while (0)
Definition at line 163 of file aarch64-linux-nat.c.
#define DR_CONTROL_ENABLED | ( | ctrl | ) | (((ctrl) & 0x1) == 1) |
Definition at line 955 of file aarch64-linux-nat.c.
#define DR_CONTROL_LENGTH | ( | ctrl | ) | (((ctrl) >> 5) & 0xff) |
Definition at line 956 of file aarch64-linux-nat.c.
#define DR_HAS_CHANGED | ( | x | ) | ((x) != 0) |
Definition at line 169 of file aarch64-linux-nat.c.
#define DR_MARK_ALL_CHANGED | ( | x, | |
m | |||
) |
do \ { \ gdb_assert (sizeof ((x)) * 8 >= (m)); \ (x) = (((dr_changed_t)1 << (m)) - 1); \ } while (0)
Definition at line 150 of file aarch64-linux-nat.c.
#define DR_MARK_N_CHANGED | ( | x, | |
n | |||
) |
do \ { \ (x) |= ((dr_changed_t)1 << (n)); \ } while (0)
Definition at line 157 of file aarch64-linux-nat.c.
#define DR_N_HAS_CHANGED | ( | x, | |
n | |||
) | ((x) & ((dr_changed_t)1 << (n))) |
Definition at line 170 of file aarch64-linux-nat.c.
#define TRAP_HWBKPT 0x0004 |
Definition at line 45 of file aarch64-linux-nat.c.
typedef unsigned LONGEST dr_changed_t |
Definition at line 146 of file aarch64-linux-nat.c.
void _initialize_aarch64_linux_nat | ( | void | ) |
Definition at line 1518 of file aarch64-linux-nat.c.
void fill_fpregset | ( | const struct regcache * | regcache, |
gdb_fpregset_t * | fpregsetp, | ||
int | regno | ||
) |
Definition at line 639 of file aarch64-linux-nat.c.
void fill_gregset | ( | const struct regcache * | regcache, |
gdb_gregset_t * | gregsetp, | ||
int | regno | ||
) |
Definition at line 612 of file aarch64-linux-nat.c.
ps_err_e ps_get_thread_area | ( | const struct ps_prochandle * | ph, |
lwpid_t | lwpid, | ||
int | idx, | ||
void ** | base | ||
) |
Definition at line 753 of file aarch64-linux-nat.c.
void supply_fpregset | ( | struct regcache * | regcache, |
const gdb_fpregset_t * | fpregsetp | ||
) |
Definition at line 664 of file aarch64-linux-nat.c.
void supply_gregset | ( | struct regcache * | regcache, |
const gdb_gregset_t * | gregsetp | ||
) |
Definition at line 629 of file aarch64-linux-nat.c.