summaryrefslogtreecommitdiffstats
path: root/debugger.h
diff options
context:
space:
mode:
authorMatt Hunter <m@lfurio.us>2025-09-07 06:43:22 -0400
committerMatt Hunter <m@lfurio.us>2025-09-07 06:43:22 -0400
commit1001499baec9e8d6fb25c641b2a0577ccd419d6f (patch)
tree91bd8d29e34b2780a57e85623988be40babe2c85 /debugger.h
parent3b03d95a22a99df7d84647179a86f8c7f534868a (diff)
parentb2d6f5a4c75e8f68cb27edad38455375b500323b (diff)
downloadmisplays-1001499baec9e8d6fb25c641b2a0577ccd419d6f.tar.gz
misplays-1001499baec9e8d6fb25c641b2a0577ccd419d6f.zip
Merge branch 'arm32'
Add initial 32-bit ARM support and additionally build out internal breakpoint design to allow the use of single-step oriented breakpoints. * arm32: Always prune step breakpoints when uninstalling from memory Update detect_breakpoint() to better handle single stepping Add architecture-specific single step support Add 32-bit ARM architecture params
Diffstat (limited to 'debugger.h')
-rw-r--r--debugger.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/debugger.h b/debugger.h
index 6a3fba7..093e8dd 100644
--- a/debugger.h
+++ b/debugger.h
@@ -14,6 +14,7 @@ struct breakpoint {
int previously_installed;
int hits;
int user;
+ int step;
unsigned long stack;
pid_t tid;
@@ -60,7 +61,7 @@ struct thread {
char status[128];
};
-extern struct breakpoint*add_breakpoint(struct process*proc,unsigned long address);
+extern struct breakpoint*add_breakpoint(struct process*proc,unsigned long address, int step);
extern struct breakpoint*get_breakpoint(struct process*proc,unsigned long address);
extern struct process *dbg_attach(pid_t pid, int child);