LibDebug: Make single-stepping work for x86_64

This commit is contained in:
Gunnar Beutner
2021-08-02 09:26:22 +02:00
committed by Andreas Kling
parent 594903742b
commit f87cc85cd3

View File

@@ -345,11 +345,7 @@ void* DebugSession::single_step()
regs.rflags &= ~(TRAP_FLAG);
#endif
set_registers(regs);
#if ARCH(I386)
return (void*)regs.eip;
#else
TODO();
#endif
return (void*)regs.ip();
}
void DebugSession::detach()