Re: [PATCH 26/28] Don't write to inferior_ptid in ravenscar-thread.c

Tom Tromey
2020-04-17T18:45:30Z

>>>>> "Pedro" == Pedro Alves via Gdb-patches <gdb-patches@sourceware.org> writes:

Pedro> ravenscar_thread_target ()
Pedro> + : m_base_ptid (inferior_ptid)
Pedro> {
Pedro> - update_inferior_ptid ();
Pedro> + thread_info *thr = add_active_thread ();
Pedro> + if (thr != nullptr)
Pedro> + switch_to_thread (thr);
Pedro> }

I wonder if this will help with the announcement problem fixed here:

https://sourceware.org/pipermail/gdb-patches/2019-March/156455.html

It's not all that important, I still want to try to get that series in.
It's held up on

https://sourceware.org/pipermail/gdb-patches/2019-March/156453.html

Tom