This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] infrun: don't resume the inferior when we notice a new thread (new_thread_event).
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 06 Jun 2012 19:12:31 +0100
- Subject: Re: [PATCH] infrun: don't resume the inferior when we notice a new thread (new_thread_event).
- References: <20120528204623.25996.69879.stgit@brno.lan>
On 05/28/2012 09:46 PM, Pedro Alves wrote:
> gdb/
> 2012-05-28 Pedro Alves <palves@redhat.com>
>
> * infrun.c (struct execution_control_state): Remove
> `new_thread_event' field.
> (handle_inferior_event): Simplify new threads handling; don't
> resume the inferior if we find a new thread.
>
> gdb/testsuite/
> 2012-05-28 Pedro Alves <palves@redhat.com>
>
> * gdb.threads/clone-new-thread-event.c: New file.
> * gdb.threads/clone-new-thread-event.exp: New file.
I've applied this now.
--
Pedro Alves