[PATCH v3 0/3] Fix attaching to process when it has zombie threads

Thiago Jung Bauermann thiago.bauermann@linaro.org
Wed Apr 24 23:15:48 GMT 2024


Hello,

This version just adjusts the comment in patch 1 as suggested by Pedro.
This reflects in patch 2, which has a slightly abbreviated version of the
comment.

v2 of this series is here:

https://inbox.sourceware.org/gdb-patches/20240420055652.819024-1-thiago.bauermann@linaro.org/

v1 of this series is here:

https://inbox.sourceware.org/gdb-patches/20240321231149.519549-1-thiago.bauermann@linaro.org/


Thiago Jung Bauermann (3):
  gdb/nat: Use procfs(5) indexes in linux_common_core_of_thread
  gdb/nat: Factor linux_proc_get_stat_field out of
    linux_common_core_of_thread
  gdb/nat/linux: Fix attaching to process when it has zombie threads

 gdb/nat/linux-osdata.c | 38 +++--------------
 gdb/nat/linux-osdata.h |  3 ++
 gdb/nat/linux-procfs.c | 97 ++++++++++++++++++++++++++++++++++++++++++
 gdb/nat/linux-procfs.h | 11 +++++
 4 files changed, 116 insertions(+), 33 deletions(-)


base-commit: f5ef12c3f1af890dcdc6dc54f5ea58a05c6cf65a


More information about the Gdb-patches mailing list