From 6adffcd857ccac0d2bcef29f52346836a0d1f3e8 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 30 Sep 1994 13:58:58 +0000 Subject: [PATCH] * config/nm-lynx.h (PTRACE_ARG3_TYPE): Define to int, not char *. * lynx-nat.c (child_wait): Pass fourth argument to ptrace. --- gdb/ChangeLog | 6 ++++++ gdb/lynx-nat.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b309561ba61..57638de2e4b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Fri Sep 30 06:42:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * config/nm-lynx.h (PTRACE_ARG3_TYPE): Define to int, not char *. + + * lynx-nat.c (child_wait): Pass fourth argument to ptrace. + Thu Sep 29 08:22:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * xcoffread.c (read_xcoff_symtab): Fix comment for yesterday's change. diff --git a/gdb/lynx-nat.c b/gdb/lynx-nat.c index 95a3d9164e8..b7bc8245998 100644 --- a/gdb/lynx-nat.c +++ b/gdb/lynx-nat.c @@ -649,7 +649,7 @@ child_wait (pid, ourstatus) { int realsig; - realsig = ptrace (PTRACE_GETTRACESIG, pid, 0); + realsig = ptrace (PTRACE_GETTRACESIG, pid, (PTRACE_ARG3_TYPE)0, 0); if (realsig == SIGNEWTHREAD) { -- 2.30.2