Dmitry Timoshkov : winedbg: Fix a problem revealed by compilation in 64-bit mode.

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 25 14:43:26 CDT 2007


Module: wine
Branch: master
Commit: e0510e42fe588fb8079c0f378c471cc77cfa88f4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e0510e42fe588fb8079c0f378c471cc77cfa88f4

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Thu May 24 17:15:59 2007 +0900

winedbg: Fix a problem revealed by compilation in 64-bit mode.

---

 programs/winedbg/be_x86_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/winedbg/be_x86_64.c b/programs/winedbg/be_x86_64.c
index 3400f72..75dc933 100644
--- a/programs/winedbg/be_x86_64.c
+++ b/programs/winedbg/be_x86_64.c
@@ -51,7 +51,7 @@ static unsigned be_x86_64_get_register_info(int regno, enum be_cpu_addr* kind)
     /* this is true when running in 32bit mode... and wrong in 64 :-/ */
     switch (regno)
     {
-    case CV_AMD64_EIP: *kind = be_cpu_addr_pc; return TRUE;
+    case CV_AMD64_RIP: *kind = be_cpu_addr_pc; return TRUE;
     case CV_AMD64_EBP: *kind = be_cpu_addr_frame; return TRUE;
     case CV_AMD64_ESP: *kind = be_cpu_addr_stack; return TRUE;
     }




More information about the wine-cvs mailing list