[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] typo in src/x86/init.h
From: |
Mark Wielaard |
Subject: |
[Libunwind-devel] typo in src/x86/init.h |
Date: |
Wed, 10 Oct 2007 18:13:28 +0200 |
Hi,
Andrew found a typo in src/x86/init.h which set the dwarf ESI register
location wrongly to the EDI register.
2007-10-10 Andrew Cagney <address@hidden>
* src/x86/init.h (common_init): Use UNW_X86_ESI for dwarf.loc[ESI].
Cheers,
Mark
Index: frysk-imports/libunwind/src/x86/init.h
===================================================================
RCS file: /cvs/frysk/frysk-imports/libunwind/src/x86/init.h,v
retrieving revision 1.4
diff -u -r1.4 init.h
--- frysk-imports/libunwind/src/x86/init.h 4 Sep 2007 13:16:28 -0000
1.4
+++ frysk-imports/libunwind/src/x86/init.h 10 Oct 2007 16:11:14 -0000
@@ -36,7 +36,7 @@
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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Libunwind-devel] typo in src/x86/init.h,
Mark Wielaard <=