diff --git a/Userland/Libraries/LibDebug/DebugSession.cpp b/Userland/Libraries/LibDebug/DebugSession.cpp index a66fd3cc42..bae599dc76 100644 --- a/Userland/Libraries/LibDebug/DebugSession.cpp +++ b/Userland/Libraries/LibDebug/DebugSession.cpp @@ -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()