This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2] Don't delete thread_info if refcount isn't zero
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 5 Apr 2017 22:15:40 +0100
- Subject: [PATCH 0/2] Don't delete thread_info if refcount isn't zero
- Authentication-results: sourceware.org; auth=none
- References: <1f525e52-f547-63ac-0a31-e92686c9caf8@redhat.com>
After Pedro explained the refcount in thread_info, previously I completely
misunderstood it. Here is the updated patch set.
Regression tested on x86_64-linux.
*** BLURB HERE ***
Yao Qi (2):
Hoist code on marking thread as exited
Don't delete thread_info if refcount isn't zero
gdb/gdbthread.h | 33 ++++++++++++++---
gdb/infrun.c | 4 +--
gdb/thread.c | 107 +++++++++++++++++++++++---------------------------------
3 files changed, 73 insertions(+), 71 deletions(-)
--
1.9.1