summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-09-05 02:31:09 +0000
committermidipix <writeonce@midipix.org>2019-09-05 02:31:09 +0000
commitbb1628f262d5351d0b29f41b097952a4ed669c8e (patch)
treed79060ad3ea593a380f6af96a11309f0ef5f3679 /src
parentb86e924596b4da8a80f82e93a745921d16eb957c (diff)
downloadmmglue-bb1628f262d5351d0b29f41b097952a4ed669c8e.tar.bz2
mmglue-bb1628f262d5351d0b29f41b097952a4ed669c8e.tar.xz
glue layer: debug.h, __dbg_spawn(): added struct __strace definition/parameter.
Diffstat (limited to 'src')
-rw-r--r--src/arch/nt32/debug.c6
-rw-r--r--src/arch/nt64/debug.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/src/arch/nt32/debug.c b/src/arch/nt32/debug.c
index 6038cc7..a7b0a21 100644
--- a/src/arch/nt32/debug.c
+++ b/src/arch/nt32/debug.c
@@ -15,9 +15,11 @@ int __dbg_detach(int pfd)
return syscall(SYS_dbg_detach,pfd);
}
-int __dbg_spawn(const char * path, char ** argv, char ** envp)
+int __dbg_spawn(const char * path,
+ char ** argv, char ** envp,
+ const struct __strace * strace)
{
- return syscall(SYS_dbg_spawn,path,argv,envp);
+ return syscall(SYS_dbg_spawn,path,argv,envp,strace);
}
int __dbg_fork()
diff --git a/src/arch/nt64/debug.c b/src/arch/nt64/debug.c
index 6038cc7..a7b0a21 100644
--- a/src/arch/nt64/debug.c
+++ b/src/arch/nt64/debug.c
@@ -15,9 +15,11 @@ int __dbg_detach(int pfd)
return syscall(SYS_dbg_detach,pfd);
}
-int __dbg_spawn(const char * path, char ** argv, char ** envp)
+int __dbg_spawn(const char * path,
+ char ** argv, char ** envp,
+ const struct __strace * strace)
{
- return syscall(SYS_dbg_spawn,path,argv,envp);
+ return syscall(SYS_dbg_spawn,path,argv,envp,strace);
}
int __dbg_fork()