diff options
author | Itamar <itamar8910@gmail.com> | 2020-04-03 14:50:17 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-13 00:53:22 +0200 |
commit | 77f671b462be1c3f5469a348337326235da6d5a0 (patch) | |
tree | 4ed44b9ca23ef8dd6a5284e84b7405f8d454783a /Libraries/LibC/sys | |
parent | c112f533578cda48396308ee34314917d97a5614 (diff) | |
download | serenity-77f671b462be1c3f5469a348337326235da6d5a0.zip |
CPU: Handle breakpoint trap
Also, start working on the debugger app.
Diffstat (limited to 'Libraries/LibC/sys')
-rw-r--r-- | Libraries/LibC/sys/arch/i386/regs.h | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/Libraries/LibC/sys/arch/i386/regs.h b/Libraries/LibC/sys/arch/i386/regs.h index 21cdf64116..f367d13f28 100644 --- a/Libraries/LibC/sys/arch/i386/regs.h +++ b/Libraries/LibC/sys/arch/i386/regs.h @@ -25,25 +25,24 @@ */ #pragma once -#include <AK/kmalloc.h> -#include <bits/stdint.h> +#include <AK/Types.h> struct [[gnu::packed]] PtraceRegisters { - uint32_t eax; - uint32_t ecx; - uint32_t edx; - uint32_t ebx; - uint32_t esp; - uint32_t ebp; - uint32_t esi; - uint32_t edi; - uint32_t eip; - uint32_t eflags; - uint32_t cs; - uint32_t ss; - uint32_t ds; - uint32_t es; - uint32_t fs; - uint32_t gs; + u32 eax; + u32 ecx; + u32 edx; + u32 ebx; + u32 esp; + u32 ebp; + u32 esi; + u32 edi; + u32 eip; + u32 eflags; + u32 cs; + u32 ss; + u32 ds; + u32 es; + u32 fs; + u32 gs; }; |