This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [non-stop] 06/10 Don't rely on ecs->wait_for_more before fetching an event
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 25 Jun 2008 15:18:21 -0400
- Subject: Re: [non-stop] 06/10 Don't rely on ecs->wait_for_more before fetching an event
- References: <200806152205.02481.pedro@codesourcery.com>
On Sun, Jun 15, 2008 at 10:05:02PM +0100, Pedro Alves wrote:
> 2008-06-15 Pedro Alves <pedro@codesourcery.com>
>
> Don't rely on wait_for_more.
>
> * infrun.c (proceed): Clear the stepping state, set
> previous_inferior_ptid and clear infwait state.
> (wait_for_inferior): Don't clear the stepping state, set
> previous_inferior_ptid, or clear the infwait state here.
> (fetch_inferior_event): Don't clear the stepping state, set
> previous_inferior_ptid, or clear the infwait state here. Don't
> condition on wait_for_more.
OK.
--
Daniel Jacobowitz
CodeSourcery