mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:27:35 +00:00
CPU: Handle breakpoint trap
Also, start working on the debugger app.
This commit is contained in:
parent
c112f53357
commit
77f671b462
10 changed files with 184 additions and 23 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue