[PATCH 26/28] Don't write to inferior_ptid in ravenscar-thread.c
Tom Tromey
tom@tromey.com
Fri Apr 17 18:45:28 GMT 2020
>>>>> "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
More information about the Gdb-patches
mailing list