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

This commit is contained in:
Dmitry Timoshkov 2007-05-24 17:15:59 +09:00 committed by Alexandre Julliard
parent 141673c222
commit e0510e42fe
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}