summaryrefslogtreecommitdiffhomepage
path: root/include/sys/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/debug.h')
-rw-r--r--include/sys/debug.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/sys/debug.h b/include/sys/debug.h
index d3b73e6..5317649 100644
--- a/include/sys/debug.h
+++ b/include/sys/debug.h
@@ -147,12 +147,15 @@ struct __dbg_event {
int __dbg_attach(pid_t);
int __dbg_detach(int);
-/* process creation/suspension/termination --> debug file descriptor */
+/* process creation/termination --> debug file descriptor */
int __dbg_spawn(const char *, char **, char **, const struct __strace *);
int __dbg_fork(void);
-int __dbg_suspend(int);
int __dbg_kill(int);
+/* suspend/resume thread; return previous suspend count (negative for an error) */
+int __dbg_suspend_thread(int, pid_t);
+int __dbg_resume_thread(int, pid_t);
+
/* breakpoint via remote break-in, thread context manipulation, or lpc message */
int __dbg_rbreak(int);
int __dbg_tbreak(int);