summaryrefslogtreecommitdiffstats
path: root/debugger.h
diff options
context:
space:
mode:
Diffstat (limited to 'debugger.h')
-rw-r--r--debugger.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/debugger.h b/debugger.h
index f14459f..b26adf8 100644
--- a/debugger.h
+++ b/debugger.h
@@ -1,8 +1,8 @@
#pragma once
-#include <sys/user.h>
#include <unistd.h>
+#include "architecture.h"
#include "list.h"
struct breakpoint {
@@ -29,7 +29,8 @@ struct map {
struct state {
LINKEDLIST;
- struct user_regs_struct regs;
+ size_t regsize;
+ user_regs_t regs;
struct list maps;
};