winedbg: Implemented is_function_return method for x86-64 CPU.

This commit is contained in:
Eric Pouech 2010-02-03 21:47:46 +01:00 committed by Alexandre Julliard
parent 7d3a9c6ffd
commit 6979ea7d5b
1 changed files with 2 additions and 2 deletions

View File

@ -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)