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: [commit] Order parameters "rw", not "wr"


On Thu, Nov 13, 2003 at 01:01:23PM -0500, Andrew Cagney wrote:
> Oh, as always, 30 seconds after spending an hr on a reply, I remember:
> 
>      int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set 
> *exceptfds, struct timeval *timeout);
> 
> with more than two parameters and the ordering:
> 
> - object
> - read param
> - write param

I think we're overloading the meaning of "read param", possibly because
I don't understand the arguments to the _partial functions.

Select is actually ordered:
 - input parameter
 - four in/out parameters

But let's drop it.  I don't care how you order target_read_partial; it
has so many arguments I'll have to go look it up every time anyway.

-- 
Daniel Jacobowitz
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]