mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
Return event_ptid from ravenscar_thread_target::wait
ravenscar_thread_target::wait should return the event ptid from the wrapped "wait" call in the situation where returning the Ravenscar thread ptid is not appropriate. This probably does not really make a difference in practice, but it seemed like a reasonable cleanup. gdb/ChangeLog 2020-08-07 Tom Tromey <tromey@adacore.com> * ravenscar-thread.c (ravenscar_thread_target::wait): Return event_ptid.
This commit is contained in:
parent
e95465793d
commit
550ab58d6e
@ -1,3 +1,8 @@
|
||||
2020-08-07 Tom Tromey <tromey@adacore.com>
|
||||
|
||||
* ravenscar-thread.c (ravenscar_thread_target::wait): Return
|
||||
event_ptid.
|
||||
|
||||
2020-08-07 Tom Tromey <tromey@adacore.com>
|
||||
|
||||
* ravenscar-thread.c (ravenscar_thread_target::wait): Check
|
||||
|
@ -361,7 +361,7 @@ ravenscar_thread_target::wait (ptid_t ptid,
|
||||
this->update_thread_list ();
|
||||
return this->add_active_thread ()->ptid;
|
||||
}
|
||||
return m_base_ptid;
|
||||
return event_ptid;
|
||||
}
|
||||
|
||||
/* Add the thread associated to the given TASK to the thread list
|
||||
|
Loading…
Reference in New Issue
Block a user