summaryrefslogtreecommitdiff
path: root/plugins/arm/v7
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/arm/v7')
-rw-r--r--plugins/arm/v7/register.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/arm/v7/register.c b/plugins/arm/v7/register.c
index c2e15b0..1d7a1ed 100644
--- a/plugins/arm/v7/register.c
+++ b/plugins/arm/v7/register.c
@@ -202,9 +202,15 @@ static void g_armv7_register_print(const GArmV7Register *reg, GBufferLine *line,
switch (G_ARM_REGISTER(reg)->index)
{
- case 0 ... 12:
+ case 0 ... 10:
klen = snprintf(key, MAX_REGNAME_LEN, "r%hhu", G_ARM_REGISTER(reg)->index);
break;
+ case 11:
+ klen = snprintf(key, MAX_REGNAME_LEN, "fp");
+ break;
+ case 12:
+ klen = snprintf(key, MAX_REGNAME_LEN, "ip");
+ break;
case 13:
klen = snprintf(key, MAX_REGNAME_LEN, "sp");
break;