|
GDBserver
|
#include "server.h"#include "arch/arm.h"#include "arch/arm-linux.h"#include "linux-low.h"#include "linux-aarch32-low.h"#include <sys/ptrace.h>#include <elf.h>Go to the source code of this file.
Macros | |
| #define | arm_abi_breakpoint 0xef9f0001UL |
| #define | arm_eabi_breakpoint 0xe7f001f0UL |
| #define | arm_breakpoint_len 4 |
| #define | thumb_breakpoint_len 2 |
| #define | thumb2_breakpoint_len 4 |
| #define | NT_ARM_VFP 0x400 |
Functions | |
| void | arm_fill_gregset (struct regcache *regcache, void *buf) |
| void | arm_store_gregset (struct regcache *regcache, const void *buf) |
| void | arm_fill_vfpregset_num (struct regcache *regcache, void *buf, int num) |
| void | arm_store_vfpregset_num (struct regcache *regcache, const void *buf, int num) |
| static void | arm_fill_vfpregset (struct regcache *regcache, void *buf) |
| static void | arm_store_vfpregset (struct regcache *regcache, const void *buf) |
| int | arm_is_thumb_mode (void) |
| int | arm_breakpoint_at (CORE_ADDR where) |
| int | arm_breakpoint_kind_from_pc (CORE_ADDR *pcptr) |
| const gdb_byte * | arm_sw_breakpoint_from_kind (int kind, int *size) |
| int | arm_breakpoint_kind_from_current_state (CORE_ADDR *pcptr) |
| void | initialize_low_arch_aarch32 (void) |
Variables | |
| static const unsigned long | arm_breakpoint = arm_abi_breakpoint |
| static const unsigned short | thumb_breakpoint = 0xde01 |
| static const unsigned short | thumb2_breakpoint [] = { 0xf7f0, 0xa000 } |
| static struct regset_info | aarch32_regsets [] |
| static struct regsets_info | aarch32_regsets_info |
| struct regs_info | regs_info_aarch32 |
| #define arm_abi_breakpoint 0xef9f0001UL |
Definition at line 32 of file linux-aarch32-low.c.
Referenced by arm_breakpoint_at().
| #define arm_breakpoint_len 4 |
Definition at line 46 of file linux-aarch32-low.c.
Referenced by arm_sw_breakpoint_from_kind().
| #define arm_eabi_breakpoint 0xe7f001f0UL |
Definition at line 38 of file linux-aarch32-low.c.
Referenced by arm_breakpoint_at().
| #define NT_ARM_VFP 0x400 |
Definition at line 55 of file linux-aarch32-low.c.
| #define thumb2_breakpoint_len 4 |
Definition at line 50 of file linux-aarch32-low.c.
Referenced by arm_sw_breakpoint_from_kind().
| #define thumb_breakpoint_len 2 |
Definition at line 48 of file linux-aarch32-low.c.
Referenced by arm_sw_breakpoint_from_kind().
| int arm_breakpoint_at | ( | CORE_ADDR | where | ) |
Definition at line 188 of file linux-aarch32-low.c.
References arm_abi_breakpoint, arm_eabi_breakpoint, arm_is_thumb_mode(), target_ops::read_memory, the_target, thumb2_breakpoint, and thumb_breakpoint.
Referenced by aarch64_breakpoint_at().
| int arm_breakpoint_kind_from_current_state | ( | CORE_ADDR * | pcptr | ) |
Definition at line 286 of file linux-aarch32-low.c.
References arm_breakpoint_kind_from_pc(), and arm_is_thumb_mode().
Referenced by aarch64_breakpoint_kind_from_current_state().
| int arm_breakpoint_kind_from_pc | ( | CORE_ADDR * | pcptr | ) |
Definition at line 231 of file linux-aarch32-low.c.
References target_read_memory().
Referenced by aarch64_breakpoint_kind_from_pc(), and arm_breakpoint_kind_from_current_state().
| void arm_fill_gregset | ( | struct regcache * | regcache, |
| void * | buf | ||
| ) |
Definition at line 61 of file linux-aarch32-low.c.
References collect_register().
|
static |
Definition at line 132 of file linux-aarch32-low.c.
References arm_fill_vfpregset_num().
| void arm_fill_vfpregset_num | ( | struct regcache * | regcache, |
| void * | buf, | ||
| int | num | ||
| ) |
Definition at line 101 of file linux-aarch32-low.c.
References collect_register(), collect_register_by_name(), find_regno(), gdb_assert, and regcache::tdesc.
Referenced by arm_fill_vfpregset().
| int arm_is_thumb_mode | ( | void | ) |
Definition at line 172 of file linux-aarch32-low.c.
References collect_register_by_name(), current_thread, and get_thread_regcache().
Referenced by arm_breakpoint_at(), arm_breakpoint_kind_from_current_state(), arm_get_syscall_trapinfo(), get_next_pcs_is_thumb(), and get_next_pcs_syscall_next_pc().
| void arm_store_gregset | ( | struct regcache * | regcache, |
| const void * | buf | ||
| ) |
Definition at line 79 of file linux-aarch32-low.c.
References memset(), and supply_register().
|
static |
Definition at line 138 of file linux-aarch32-low.c.
References arm_store_vfpregset_num().
| void arm_store_vfpregset_num | ( | struct regcache * | regcache, |
| const void * | buf, | ||
| int | num | ||
| ) |
Definition at line 118 of file linux-aarch32-low.c.
References find_regno(), gdb_assert, supply_register(), supply_register_by_name(), and regcache::tdesc.
Referenced by arm_store_vfpregset().
| const gdb_byte* arm_sw_breakpoint_from_kind | ( | int | kind, |
| int * | size | ||
| ) |
Definition at line 257 of file linux-aarch32-low.c.
References arm_breakpoint, arm_breakpoint_len, thumb2_breakpoint, thumb2_breakpoint_len, thumb_breakpoint, and thumb_breakpoint_len.
Referenced by aarch64_sw_breakpoint_from_kind().
| void initialize_low_arch_aarch32 | ( | void | ) |
Definition at line 300 of file linux-aarch32-low.c.
References aarch32_regsets_info, and init_registers_arm_with_neon().
Referenced by initialize_low_arch().
|
static |
Definition at line 145 of file linux-aarch32-low.c.
|
static |
Definition at line 155 of file linux-aarch32-low.c.
Referenced by initialize_low_arch_aarch32().
|
static |
Definition at line 43 of file linux-aarch32-low.c.
Referenced by arm_sw_breakpoint_from_kind().
| struct regs_info regs_info_aarch32 |
Definition at line 162 of file linux-aarch32-low.c.
Referenced by aarch64_regs_info(), and arm_regs_info().
|
static |
Definition at line 49 of file linux-aarch32-low.c.
Referenced by arm_breakpoint_at(), and arm_sw_breakpoint_from_kind().
|
static |
Definition at line 47 of file linux-aarch32-low.c.
Referenced by arm_breakpoint_at(), and arm_sw_breakpoint_from_kind().
1.8.14