#include <stddef.h>
#include <linux/stringify.h>
#include <dwarf-regs.h>
Go to the source code of this file.
◆ GPR_DWARFNUM_NAME
#define GPR_DWARFNUM_NAME |
( |
|
num | ) |
{.name = __stringify(%r##num), .dwarfnum = num} |
◆ REG_DWARFNUM_END
#define REG_DWARFNUM_END {.name = NULL, .dwarfnum = 0} |
◆ REG_DWARFNUM_NAME
#define REG_DWARFNUM_NAME |
( |
|
r, |
|
|
|
num |
|
) |
| {.name = r, .dwarfnum = num} |
◆ get_arch_regstr()
const char* get_arch_regstr |
( |
unsigned int |
n | ) |
|
get_arch_regstr() - lookup register name from it's DWARF register number
: the DWARF register number
get_arch_regstr() returns the name of the register in struct regdwarfnum_table from it's DWARF register number. If the register is not found in the table, this returns NULL;
Definition at line 57 of file dwarf-regs.c.
◆ regdwarfnum_table
Initial value:= {
}
#define REG_DWARFNUM_NAME(r, num)
#define GPR_DWARFNUM_NAME(num)
Definition at line 29 of file dwarf-regs.c.