]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Hoist code on marking thread as exited
authorYao Qi <yao.qi@linaro.org>
Mon, 10 Apr 2017 13:39:41 +0000 (14:39 +0100)
committerYao Qi <yao.qi@linaro.org>
Mon, 10 Apr 2017 13:39:41 +0000 (14:39 +0100)
commit8c25b49760b854d0b8451e8ecffeb9860fc41158
tree1b96a3a397f087b81076fc5449c54637c016a066
parent947fa9141488c1d39303fcdaa056332d2d0b2599
Hoist code on marking thread as exited

This patch hoists code on marking thread as exited, so more code is shared
for two different paths (thread_info is deleted or is not deleted).

gdb:

2017-04-10  Yao Qi  <yao.qi@linaro.org>

* thread.c (delete_thread_1): Hoist code on marking thread as
exited.
gdb/ChangeLog
gdb/thread.c