Re: [PATCH 23/28] Don't write to inferior_ptid in remote-sim.c

Simon Marchi
2020-04-16T00:53:22Z

On 2020-04-14 1:54 p.m., Pedro Alves via Gdb-patches wrote:
> gdb/ChangeLog:
> yyyy-mm-dd Pedro Alves <palves@redhat.com>
>
> * remote-sim.c (gdbsim_target::create_inferior): Switch to thread
> after creating it, instead of writing to inferior_ptid.
> (gdbsim_target::wait): Don't write to inferior_ptid.

I noticed there's 2 "remote-sim.c" patches in this series. If there's no reason for them
to be separate, I think they should be merged. Otherwise, they should be given different
subjects.

Simon