summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt32
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/nt32')
-rw-r--r--src/arch/nt32/debug.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/nt32/debug.c b/src/arch/nt32/debug.c
index e8132be..77c8074 100644
--- a/src/arch/nt32/debug.c
+++ b/src/arch/nt32/debug.c
@@ -57,6 +57,16 @@ ssize_t __dbg_vm_write(int pfd, const void * buf, size_t len, uintptr_t addr)
return syscall(SYS_dbg_vm_write,pfd,buf,len,addr);
}
+int __dbg_regs_fetch(int pfd, pid_t tid, mcontext_t * regctx)
+{
+ return syscall(SYS_dbg_regs_fetch,pfd,tid,regctx);
+}
+
+int __dbg_regs_store(int pfd, pid_t tid, const mcontext_t * regctx)
+{
+ return syscall(SYS_dbg_regs_store,pfd,tid,regctx);
+}
+
int __dbg_suspend_thread(int pfd, pid_t tid)
{
return syscall(SYS_dbg_suspend_thread,pfd,tid);