From 24e5341bc3d7332c3bd6253f44eb6e253d4bfa31 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 6 Sep 2019 20:35:21 +0000 Subject: nt32/nt64: __dbg_suspend() --> __dbg_{suspend|resume}_thread(). --- include/sys/debug.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include') 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); -- cgit v1.2.3