This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 08/23] Introduce switch_to_inferior_no_thread
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 17 Oct 2019 02:07:44 +0100
- Subject: Re: [PATCH 08/23] Introduce switch_to_inferior_no_thread
- References: <20190906232807.6191-1-palves@redhat.com> <20190906232807.6191-9-palves@redhat.com> <87zhjd8g67.fsf@tromey.com>
On 9/9/19 7:42 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> Several places want to switch context to an inferior and its pspace,
> Pedro> while at the same time switch to "no thread selected". This commit
> Pedro> adds a function that does that, and uses it in a few places. The
> Pedro> function is made extern because many more uses will be added in follow
> Pedro> up commits.
>
> mi-main.c:run_one_inferior could also be converted.
Indeed, I did that.
Thanks,
Pedro Alves