summaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-09-30 23:02:22 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-09-30 23:02:22 +0000
commitd3006726b0c42a248e35a61fad4a4331137c2910 (patch)
tree33048a309836c4aee8891b885dec6ad6a342fca9 /gdb/gdbserver
parenta5732a3067320073cebbab111db3701bf6a133ea (diff)
downloadbinutils-gdb-d3006726b0c42a248e35a61fad4a4331137c2910.tar.gz
* gdbserver/low-lynx.c (create_inferior): Pass all 4 args to ptrace.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/low-lynx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/low-lynx.c b/gdb/gdbserver/low-lynx.c
index 349f702c60f..7fee763708f 100644
--- a/gdb/gdbserver/low-lynx.c
+++ b/gdb/gdbserver/low-lynx.c
@@ -72,7 +72,7 @@ create_inferior (program, allargs)
setpgrp(0, pgrp);
ioctl (0, TIOCSPGRP, &pgrp);
- ptrace (PTRACE_TRACEME);
+ ptrace (PTRACE_TRACEME, 0, (PTRACE_ARG3_TYPE)0, 0);
execv (program, allargs);