summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2007-10-15 10:32:07 -0600
committerDavid Mosberger-Tang <davidm@koala.mostang.com>2007-10-15 10:32:07 -0600
commit05c8284b438f1c123758057e029d13b61d404b40 (patch)
tree9a29ce41b7f71e55a9fce93e3e28b46e7bdad279
parent9ea6af8ed5ee7b07f8de6d774bc6df2b7320f0e8 (diff)
downloadlibunwind-05c8284b438f1c123758057e029d13b61d404b40.tar.gz
[X86] 2007-10-10 Andrew Cagney <cagney@redhat.com>
* src/x86/init.h (common_init): Fix typo: use UNW_X86_ESI for dwarf.loc[ESI]. Acked-by: Arun Sharma <aruns@google.com>
-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);