aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <thomas@gnu.org>1995-11-08 20:12:30 +0000
committerThomas Bushnell, BSG <thomas@gnu.org>1995-11-08 20:12:30 +0000
commitf535a036af4f875145e9f83f2b2e801d290741ad (patch)
tree556acf6f783495d853d2dd99f795805202d38805 /sysdeps/mach/hurd
parent094bacdbd84627791b82db46b095558f34c36831 (diff)
downloadglibc-f535a036af4f875145e9f83f2b2e801d290741ad.zip
glibc-f535a036af4f875145e9f83f2b2e801d290741ad.tar.gz
glibc-f535a036af4f875145e9f83f2b2e801d290741ad.tar.bz2
(ptrace) [PTRACE_TRACEME]: Notify the proc server that we are now traced.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/ptrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/ptrace.c b/sysdeps/mach/hurd/ptrace.c
index 3d85587..90fd764 100644
--- a/sysdeps/mach/hurd/ptrace.c
+++ b/sysdeps/mach/hurd/ptrace.c
@@ -94,6 +94,7 @@ ptrace (enum __ptrace_request request, ... )
case PTRACE_TRACEME:
/* Make this process be traced. */
_hurd_exec_flags |= EXEC_TRACED;
+ __USEPORT (PROC, __proc_mark_traced (port));
break;
case PTRACE_CONT: