diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote-sim.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2020-01-19 Simon Marchi <simon.marchi@polymtl.ca> + + * remote-sim.c (gdbsim_target::wait): Return + sim_data->remote_sim_ptid instead of inferior_ptid. + 2020-01-18 Nick Clifton <nickc@redhat.com> Binutils 2.34 branch created. diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index ac3b4d3..caa9446 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -1022,7 +1022,7 @@ gdbsim_target::wait (ptid_t ptid, struct target_waitstatus *status, int options) break; } - return inferior_ptid; + return sim_data->remote_sim_ptid; } /* Get ready to modify the registers array. On machines which store |