This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Kill a warning in linux-low.c


On Wed, Feb 06, 2002 at 01:25:46PM +0100, Andreas Schwab wrote:
> Daniel Jacobowitz <drow@mvista.com> writes:
> 
> |> Waitpid's second argument is an (int *), not a (union wait *).  Committed as
> |> obvious.
> 
> Wouldn't it be better to make w an int instead?

A little digging around in glibc tells me - yes, you're right.  Union
wait is a BSD-ism.

I'll fix this after the other three gdbserver patches get looked at.

--  
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]