Commit 6979ea7d authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Implemented is_function_return method for x86-64 CPU.

parent 7d3a9c6f
......@@ -170,8 +170,8 @@ static unsigned be_x86_64_is_step_over_insn(const void* insn)
static unsigned be_x86_64_is_function_return(const void* insn)
{
dbg_printf("not done is_function_return\n");
return FALSE;
BYTE c;
return dbg_read_memory(insn, &c, sizeof(c)) && ((c == 0xC2) || (c == 0xC3));
}
static unsigned be_x86_64_is_break_insn(const void* insn)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment