This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: linux native async fix
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 24 Mar 2008 18:48:49 -0400
- Subject: Re: linux native async fix
- References: <200803241749.07975.pedro@codesourcery.com>
On Mon, Mar 24, 2008 at 05:49:07PM +0000, Pedro Alves wrote:
> 2008-03-24 Pedro Alves <pedro@codesourcery.com>
>
> * linux-nat.c (drain_queued_events): Fix comment typo.
> (linux_nat_attach): In async mode, don't rely on storing a pending
> status. Instead place the wait status on the pipe.
> (linux_nat_resume): Remove unreacheable shortcut code in async
> mode.
> (stop_wait_callback): In async mode, don't store pending status.
> Instead, cancel breakpoints or resend the signal appropriatelly.
> (cancel_breakpoint): New, refactored from
> cancel_breakpoints_callback.
> (cancel_breakpoints_callback): Call cancel_breakpoint.
> (pipe_to_local_event_queue): Remove special token processing.
> (linux_nat_wait): Issue an internal error if a pending status is
> found in async mode.
OK.
--
Daniel Jacobowitz
CodeSourcery