diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-02-23 10:36:20 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-02-23 10:36:20 -0500 |
commit | 8eaf53202ea60191162d5f1069cd08ebd9f38f6c (patch) | |
tree | 24cd2ddad27fbf671e00403fc5e521e0263b5e7d /gdb/ChangeLog | |
parent | 60abdbedb2b36bcae7abee2747ec027f5f2c9b91 (diff) | |
download | gdb-8eaf53202ea60191162d5f1069cd08ebd9f38f6c.zip gdb-8eaf53202ea60191162d5f1069cd08ebd9f38f6c.tar.gz gdb-8eaf53202ea60191162d5f1069cd08ebd9f38f6c.tar.bz2 |
Fix usage of inferior_ptid in two thread_alive implementations
While inspecting some target code, I noticed that in these two
implementations of thread_alive, inferior_ptid is referenced directly
instead of using the ptid passed as parameters. I guess that it is
wrong, although I can't really test it in both cases.
gdb/ChangeLog:
* bsd-uthread.c (bsd_uthread_thread_alive): Use ptid instead of
inferior_ptid.
* go32-nat.c (go32_thread_alive): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6cc163b..30cd576 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2017-02-23 Simon Marchi <simon.marchi@ericsson.com> + + * bsd-uthread.c (bsd_uthread_thread_alive): Use ptid instead of + inferior_ptid. + * go32-nat.c (go32_thread_alive): Likewise. + 2017-02-23 Yao Qi <yao.qi@linaro.org> * varobj-iter.h (varobj_iter_delete): Call xfree instead of |