14 #include <linux/kernel.h> 15 #include <asm/ptrace.h> 18 #include "dwarf-regs-table.h" 35 if (!name || strncmp(name,
"%r", 2))
39 gpr = strtoul(name + 2, NULL, 10);
40 if (errno || gpr >= 16)
43 return offsetof(user_pt_regs, gprs) + 8 * gpr;
int regs_query_register_offset(const char *name)
static const char *const s390_dwarf_regs[]
const char * get_arch_regstr(unsigned int n)