diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/nt32/debug.c | 15 | ||||
-rw-r--r-- | src/arch/nt64/debug.c | 15 |
2 files changed, 20 insertions, 10 deletions
diff --git a/src/arch/nt32/debug.c b/src/arch/nt32/debug.c index a7b0a21..efb773b 100644 --- a/src/arch/nt32/debug.c +++ b/src/arch/nt32/debug.c @@ -27,11 +27,6 @@ int __dbg_fork() return syscall(SYS_dbg_fork); } -int __dbg_suspend(int pfd) -{ - return syscall(SYS_dbg_suspend,pfd); -} - int __dbg_kill(int pfd) { return syscall(SYS_dbg_kill,pfd); @@ -52,6 +47,16 @@ int __dbg_lbreak(int pfd) return syscall(SYS_dbg_lbreak,pfd); } +int __dbg_suspend_thread(int pfd, pid_t tid) +{ + return syscall(SYS_dbg_suspend_thread,pfd,tid); +} + +int __dbg_resume_thread(int pfd, pid_t tid) +{ + return syscall(SYS_dbg_resume_thread,pfd,tid); +} + int __dbg_event_query_one(int pfd, struct __dbg_event * evt) { return syscall(SYS_dbg_event_query_one,pfd,evt); diff --git a/src/arch/nt64/debug.c b/src/arch/nt64/debug.c index a7b0a21..efb773b 100644 --- a/src/arch/nt64/debug.c +++ b/src/arch/nt64/debug.c @@ -27,11 +27,6 @@ int __dbg_fork() return syscall(SYS_dbg_fork); } -int __dbg_suspend(int pfd) -{ - return syscall(SYS_dbg_suspend,pfd); -} - int __dbg_kill(int pfd) { return syscall(SYS_dbg_kill,pfd); @@ -52,6 +47,16 @@ int __dbg_lbreak(int pfd) return syscall(SYS_dbg_lbreak,pfd); } +int __dbg_suspend_thread(int pfd, pid_t tid) +{ + return syscall(SYS_dbg_suspend_thread,pfd,tid); +} + +int __dbg_resume_thread(int pfd, pid_t tid) +{ + return syscall(SYS_dbg_resume_thread,pfd,tid); +} + int __dbg_event_query_one(int pfd, struct __dbg_event * evt) { return syscall(SYS_dbg_event_query_one,pfd,evt); |