|
GDBserver
|
#include "server.h"#include <sys/mman.h>#include "tracepoint.h"#include "linux-x86-tdesc.h"#include "common/x86-xstate.h"Go to the source code of this file.
Macros | |
| #define | i386_num_regs 16 |
| #define | FT_CR_EAX 15 |
| #define | FT_CR_ECX 14 |
| #define | FT_CR_EDX 13 |
| #define | FT_CR_EBX 12 |
| #define | FT_CR_UESP 11 |
| #define | FT_CR_EBP 10 |
| #define | FT_CR_ESI 9 |
| #define | FT_CR_EDI 8 |
| #define | FT_CR_EIP 7 |
| #define | FT_CR_EFL 6 |
| #define | FT_CR_DS 5 |
| #define | FT_CR_ES 4 |
| #define | FT_CR_FS 3 |
| #define | FT_CR_GS 2 |
| #define | FT_CR_SS 1 |
| #define | FT_CR_CS 0 |
Functions | |
| void | supply_fast_tracepoint_registers (struct regcache *regcache, const unsigned char *buf) |
| ULONGEST | get_raw_reg (const unsigned char *raw_regs, int regnum) |
| static void | initialize_fast_tracepoint_trampoline_buffer (void) |
| const struct target_desc * | get_ipa_tdesc (int idx) |
| void * | alloc_jump_pad_buffer (size_t size) |
| void | initialize_low_tracepoint (void) |
Variables | |
| static const int | i386_ft_collect_regmap [] |
| const char * | gdbserver_xmltarget |
| static uint64_t | idx2mask [X86_TDESC_LAST] |
| #define FT_CR_CS 0 |
Definition at line 67 of file linux-i386-ipa.c.
| #define FT_CR_DS 5 |
Definition at line 62 of file linux-i386-ipa.c.
| #define FT_CR_EAX 15 |
Definition at line 52 of file linux-i386-ipa.c.
| #define FT_CR_EBP 10 |
Definition at line 57 of file linux-i386-ipa.c.
| #define FT_CR_EBX 12 |
Definition at line 55 of file linux-i386-ipa.c.
| #define FT_CR_ECX 14 |
Definition at line 53 of file linux-i386-ipa.c.
| #define FT_CR_EDI 8 |
Definition at line 59 of file linux-i386-ipa.c.
| #define FT_CR_EDX 13 |
Definition at line 54 of file linux-i386-ipa.c.
| #define FT_CR_EFL 6 |
Definition at line 61 of file linux-i386-ipa.c.
| #define FT_CR_EIP 7 |
Definition at line 60 of file linux-i386-ipa.c.
| #define FT_CR_ES 4 |
Definition at line 63 of file linux-i386-ipa.c.
| #define FT_CR_ESI 9 |
Definition at line 58 of file linux-i386-ipa.c.
| #define FT_CR_FS 3 |
Definition at line 64 of file linux-i386-ipa.c.
| #define FT_CR_GS 2 |
Definition at line 65 of file linux-i386-ipa.c.
| #define FT_CR_SS 1 |
Definition at line 66 of file linux-i386-ipa.c.
| #define FT_CR_UESP 11 |
Definition at line 56 of file linux-i386-ipa.c.
| #define i386_num_regs 16 |
Definition at line 50 of file linux-i386-ipa.c.
Referenced by get_raw_reg(), and supply_fast_tracepoint_registers().
| enum i386_gdb_regnum |
Definition at line 29 of file linux-i386-ipa.c.
| void* alloc_jump_pad_buffer | ( | size_t | size | ) |
Definition at line 277 of file linux-i386-ipa.c.
| const struct target_desc* get_ipa_tdesc | ( | int | idx | ) |
Definition at line 263 of file linux-i386-ipa.c.
References i386_linux_read_description(), idx2mask, internal_error(), and X86_TDESC_LAST.
| ULONGEST get_raw_reg | ( | const unsigned char * | raw_regs, |
| int | regnum | ||
| ) |
Definition at line 100 of file linux-i386-ipa.c.
References I386_CS_REGNUM, i386_ft_collect_regmap, I386_GS_REGNUM, and i386_num_regs.
|
static |
Definition at line 199 of file linux-i386-ipa.c.
References errno, IPA_BUFSIZ, and strerror().
Referenced by initialize_low_tracepoint().
| void initialize_low_tracepoint | ( | void | ) |
Definition at line 289 of file linux-i386-ipa.c.
References i386_linux_read_description(), idx2mask, initialize_fast_tracepoint_trampoline_buffer(), and X86_TDESC_LAST.
| void supply_fast_tracepoint_registers | ( | struct regcache * | regcache, |
| const unsigned char * | buf | ||
| ) |
Definition at line 81 of file linux-i386-ipa.c.
References I386_CS_REGNUM, i386_ft_collect_regmap, I386_GS_REGNUM, i386_num_regs, and supply_register().
| const char* gdbserver_xmltarget |
Definition at line 193 of file linux-i386-ipa.c.
|
static |
Definition at line 72 of file linux-i386-ipa.c.
Referenced by get_raw_reg(), and supply_fast_tracepoint_registers().
|
static |
Definition at line 249 of file linux-i386-ipa.c.
Referenced by get_ipa_tdesc(), and initialize_low_tracepoint().
1.8.14