summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-09-06 20:35:21 +0000
committermidipix <writeonce@midipix.org>2019-09-06 20:35:21 +0000
commit24e5341bc3d7332c3bd6253f44eb6e253d4bfa31 (patch)
tree5d8e4cb7f417664d25fafc4fe72909898cbb22d4 /include
parentbb1628f262d5351d0b29f41b097952a4ed669c8e (diff)
downloadmmglue-24e5341bc3d7332c3bd6253f44eb6e253d4bfa31.tar.bz2
mmglue-24e5341bc3d7332c3bd6253f44eb6e253d4bfa31.tar.xz
nt32/nt64: __dbg_suspend() --> __dbg_{suspend|resume}_thread().
Diffstat (limited to 'include')
-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);