summaryrefslogtreecommitdiff
path: root/src/x86/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/x86/init.h')
-rw-r--r--src/x86/init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x86/init.h b/src/x86/init.h
index 61a2f022..675b77e5 100644
--- a/src/x86/init.h
+++ b/src/x86/init.h
@@ -36,7 +36,7 @@ common_init (struct cursor *c)
c->dwarf.loc[EBX] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EBX);
c->dwarf.loc[ESP] = DWARF_REG_LOC (&c->dwarf, UNW_X86_ESP);
c->dwarf.loc[EBP] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EBP);
- c->dwarf.loc[ESI] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EDI);
+ c->dwarf.loc[ESI] = DWARF_REG_LOC (&c->dwarf, UNW_X86_ESI);
c->dwarf.loc[EDI] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EDI);
c->dwarf.loc[EIP] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EIP);
c->dwarf.loc[EFLAGS] = DWARF_REG_LOC (&c->dwarf, UNW_X86_EFLAGS);