summaryrefslogtreecommitdiffhomepage
path: root/src/arch/nt32
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-09-11 02:47:12 +0000
committermidipix <writeonce@midipix.org>2019-09-11 02:47:12 +0000
commit45970c16c15b7edb20cffbe24d8b37e3fa3dca51 (patch)
treeaf3c6db0bbf33189ebb39a23ed8cdca7dfdb1ac9 /src/arch/nt32
parent5221bc6179e6bf7dc7f231ecbe2f936a401adf17 (diff)
downloadmmglue-45970c16c15b7edb20cffbe24d8b37e3fa3dca51.tar.bz2
mmglue-45970c16c15b7edb20cffbe24d8b37e3fa3dca51.tar.xz
nt32/nt64: debug interfaces: added __dbg_info_get(), __dbg_info_set().
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 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);