refactor linux_nat_wait a bit

Daniel Jacobowitz drow@false.org
Fri Mar 14 19:29:00 GMT 2008


On Fri, Mar 14, 2008 at 08:07:01AM +0000, Pedro Alves wrote:
> While working on the linux native async support, I found this
> useful, to get a better picture of the loop in linux_nat_wait.
> 
> The patch refactors the event filtering into its own function.
> 
> Does it look ok?

Thanks, this looks better than before.  OK.

> +/* Check if we should go on and pass this event to common code.
> +   Return the affected lpw if we are, or NULL otherwise.  */

lpw -> lwp.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list