* config/nm-lynx.h (PTRACE_ARG3_TYPE): Define to int, not char *.
* lynx-nat.c (child_wait): Pass fourth argument to ptrace.
This commit is contained in:
parent
70605a77d0
commit
6adffcd857
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue