* gdbserver/low-lynx.c (create_inferior): Pass all 4 args to ptrace.
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 30 Sep 1994 23:02:22 +0000 (23:02 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 30 Sep 1994 23:02:22 +0000 (23:02 +0000)
gdb/ChangeLog
gdb/gdbserver/low-lynx.c

index a04ae9961f771ddc27835b9c78c437328f576e68..d48fc964b286ee4b55b792400e3edf2c4f188d5c 100644 (file)
@@ -1,3 +1,7 @@
+Fri Sep 30 15:59:55 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * gdbserver/low-lynx.c (create_inferior): Pass all 4 args to ptrace.
+
 Fri Sep 30 06:42:42 1994  Ian Lance Taylor  (ian@cygnus.com)
 
        * lynx-nat.c (child_wait): Use status.w_status, not status, in
index 349f702c60fa163941763044a05fdaeeff6398cd..7fee763708f596dff9ffd05fe90faeff60f58093 100644 (file)
@@ -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);