summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/nt32/debug.c10
-rw-r--r--src/arch/nt64/debug.c10
2 files changed, 20 insertions, 0 deletions
diff --git a/src/arch/nt32/debug.c b/src/arch/nt32/debug.c
index 77c8074..e99a83e 100644
--- a/src/arch/nt32/debug.c
+++ b/src/arch/nt32/debug.c
@@ -67,6 +67,16 @@ int __dbg_regs_store(int pfd, pid_t tid, const mcontext_t * regctx)
return syscall(SYS_dbg_regs_store,pfd,tid,regctx);
}
+ssize_t __dbg_info_get(int pfd, pid_t tid, int type, void * buf, size_t len)
+{
+ return syscall(SYS_dbg_info_get,pfd,tid,type,buf,len);
+}
+
+ssize_t __dbg_info_set(int pfd, pid_t tid, int type, const void * buf, size_t len)
+{
+ return syscall(SYS_dbg_info_set,pfd,tid,type,buf,len);
+}
+
int __dbg_suspend_thread(int pfd, pid_t tid)
{
return syscall(SYS_dbg_suspend_thread,pfd,tid);
diff --git a/src/arch/nt64/debug.c b/src/arch/nt64/debug.c
index 77c8074..e99a83e 100644
--- a/src/arch/nt64/debug.c
+++ b/src/arch/nt64/debug.c
@@ -67,6 +67,16 @@ int __dbg_regs_store(int pfd, pid_t tid, const mcontext_t * regctx)
return syscall(SYS_dbg_regs_store,pfd,tid,regctx);
}
+ssize_t __dbg_info_get(int pfd, pid_t tid, int type, void * buf, size_t len)
+{
+ return syscall(SYS_dbg_info_get,pfd,tid,type,buf,len);
+}
+
+ssize_t __dbg_info_set(int pfd, pid_t tid, int type, const void * buf, size_t len)
+{
+ return syscall(SYS_dbg_info_set,pfd,tid,type,buf,len);
+}
+
int __dbg_suspend_thread(int pfd, pid_t tid)
{
return syscall(SYS_dbg_suspend_thread,pfd,tid);