mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
LibDebug: Remove i686 support
This commit is contained in:
parent
a4c87fac56
commit
1d26b46884
4 changed files with 6 additions and 33 deletions
|
@ -343,12 +343,8 @@ FlatPtr DebugSession::single_step()
|
|||
// After the debuggee has stopped, we clear the TRAP flag.
|
||||
|
||||
auto regs = get_registers();
|
||||
#if ARCH(I386) || ARCH(X86_64)
|
||||
#if ARCH(X86_64)
|
||||
constexpr u32 TRAP_FLAG = 0x100;
|
||||
#endif
|
||||
#if ARCH(I386)
|
||||
regs.eflags |= TRAP_FLAG;
|
||||
#elif ARCH(X86_64)
|
||||
regs.rflags |= TRAP_FLAG;
|
||||
#elif ARCH(AARCH64)
|
||||
TODO_AARCH64();
|
||||
|
@ -365,9 +361,7 @@ FlatPtr DebugSession::single_step()
|
|||
}
|
||||
|
||||
regs = get_registers();
|
||||
#if ARCH(I386)
|
||||
regs.eflags &= ~(TRAP_FLAG);
|
||||
#elif ARCH(X86_64)
|
||||
#if ARCH(X86_64)
|
||||
regs.rflags &= ~(TRAP_FLAG);
|
||||
#elif ARCH(AARCH64)
|
||||
TODO_AARCH64();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue