[PATCH 08/10] [WineDbg]: implemented is_break_insn for x86-64 CPUs
Eric Pouech
eric.pouech at orange.fr
Wed Feb 3 14:47:51 CST 2010
A+
---
programs/winedbg/be_x86_64.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/winedbg/be_x86_64.c b/programs/winedbg/be_x86_64.c
index e2cdc12..4cc5162 100644
--- a/programs/winedbg/be_x86_64.c
+++ b/programs/winedbg/be_x86_64.c
@@ -176,8 +176,8 @@ static unsigned be_x86_64_is_function_return(const void* insn)
static unsigned be_x86_64_is_break_insn(const void* insn)
{
- dbg_printf("not done is_break_insn\n");
- return FALSE;
+ BYTE c;
+ return dbg_read_memory(insn, &c, sizeof(c)) && c == 0xCC;
}
static unsigned be_x86_64_is_func_call(const void* insn, ADDRESS64* callee)
More information about the wine-patches
mailing list