summaryrefslogtreecommitdiffhomepage
path: root/src/arch
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 /src/arch
parentbb1628f262d5351d0b29f41b097952a4ed669c8e (diff)
downloadmmglue-24e5341bc3d7332c3bd6253f44eb6e253d4bfa31.tar.bz2
mmglue-24e5341bc3d7332c3bd6253f44eb6e253d4bfa31.tar.xz
nt32/nt64: __dbg_suspend() --> __dbg_{suspend|resume}_thread().
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/nt32/debug.c15
-rw-r--r--src/arch/nt64/debug.c15
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);