mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
2002-02-05 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c (mywait): Cast second argument of waitpid to (int *).
This commit is contained in:
parent
6b2725be39
commit
e18651ecb3
@ -1,3 +1,8 @@
|
||||
2002-02-05 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* gdbserver/linux-low.c (mywait): Cast second argument of waitpid
|
||||
to (int *).
|
||||
|
||||
2002-02-05 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* gdbserver/linux-low.c (kill_inferior): Remove commented out
|
||||
|
@ -119,7 +119,7 @@ mywait (char *status)
|
||||
union wait w;
|
||||
|
||||
enable_async_io ();
|
||||
pid = waitpid (inferior_pid, &w, 0);
|
||||
pid = waitpid (inferior_pid, (int *)&w, 0);
|
||||
disable_async_io ();
|
||||
if (pid != inferior_pid)
|
||||
perror_with_name ("wait");
|
||||
|
Loading…
Reference in New Issue
Block a user