* config/nm-lynx.h (PTRACE_ARG3_TYPE): Define to int, not char *.
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 30 Sep 1994 13:58:58 +0000 (13:58 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 30 Sep 1994 13:58:58 +0000 (13:58 +0000)
* lynx-nat.c (child_wait): Pass fourth argument to ptrace.

gdb/ChangeLog
gdb/lynx-nat.c

index b309561ba615100d3ab04d4882ec03f109075165..57638de2e4b317169b9ec89c22fa5ec17d018458 100644 (file)
@@ -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.
index 95a3d9164e82764a9cc6c88b0bff36f519fab46a..b7bc824599875b390970eba6fda8c3d5cb377782 100644 (file)
@@ -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)
            {