diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/linux-low.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c56a6b3..c24a685 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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 code. diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 2aa0fe5..368c3f2 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -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"); |