diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-09-30 13:58:58 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-09-30 13:58:58 +0000 |
commit | 6adffcd857ccac0d2bcef29f52346836a0d1f3e8 (patch) | |
tree | d0d78ddf1ce6f269bbc1bfcf0521193f6b6820be /gdb/lynx-nat.c | |
parent | 70605a77d04c1cb5ec6da9feca6cc020da5f81cc (diff) | |
download | gdb-6adffcd857ccac0d2bcef29f52346836a0d1f3e8.zip gdb-6adffcd857ccac0d2bcef29f52346836a0d1f3e8.tar.gz gdb-6adffcd857ccac0d2bcef29f52346836a0d1f3e8.tar.bz2 |
* config/nm-lynx.h (PTRACE_ARG3_TYPE): Define to int, not char *.
* lynx-nat.c (child_wait): Pass fourth argument to ptrace.
Diffstat (limited to 'gdb/lynx-nat.c')
-rw-r--r-- | gdb/lynx-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/lynx-nat.c b/gdb/lynx-nat.c index 95a3d91..b7bc824 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) { |