From d3006726b0c42a248e35a61fad4a4331137c2910 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 30 Sep 1994 23:02:22 +0000 Subject: [PATCH] * gdbserver/low-lynx.c (create_inferior): Pass all 4 args to ptrace. --- gdb/ChangeLog | 4 ++++ gdb/gdbserver/low-lynx.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a04ae9961f7..d48fc964b28 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 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); -- 2.30.2