This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: refactor linux_nat_wait a bit
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 14 Mar 2008 15:28:58 -0400
- Subject: Re: refactor linux_nat_wait a bit
- References: <200803140807.01320.pedro@codesourcery.com>
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