15 #include <linux/ptrace.h> 16 #include <linux/stringify.h> 24 #define REG_DWARFNUM_NAME(r, num) {.name = r, .dwarfnum = num} 25 #define GPR_DWARFNUM_NAME(num) \ 26 {.name = __stringify(%x##num), .dwarfnum = num} 27 #define REG_DWARFNUM_END {.name = NULL, .dwarfnum = 0} 28 #define DWARFNUM2OFFSET(index) \ 29 (index * sizeof((struct user_pt_regs *)0)->regs[0]) 82 for (roff = regdwarfnum_table; roff->
name != NULL; roff++)
92 for (roff = regdwarfnum_table; roff->
name != NULL; roff++)
93 if (!strcmp(roff->
name, name))
int regs_query_register_offset(const char *name)
#define REG_DWARFNUM_NAME(r, num)
#define DWARFNUM2OFFSET(index)
static const struct pt_regs_dwarfnum regdwarfnum_table[]
#define GPR_DWARFNUM_NAME(num)
const char * get_arch_regstr(unsigned int n)