[PATCH 0/3] Make lwp_info use intrusive_list

Simon Marchi simon.marchi@polymtl.ca
Sat Aug 28 14:58:42 GMT 2021


The goal of this series is to replace the manually maintained linked
list of lwp_info objects with an intrusive_list.  No user-visible
changes expected, no regressions seen on Linux / x86-64.

Simon Marchi (3):
  gdb: make lwp_info non-POD
  gdb: add destructor to lwp_info
  gdb: use intrusive_list for linux-nat lwp_list

 gdb/ia64-linux-nat.c  |  8 ++---
 gdb/linux-nat.c       | 84 ++++++++++++++++++-------------------------
 gdb/linux-nat.h       | 73 ++++++++++++++++++++-----------------
 gdb/linux-thread-db.c |  3 +-
 gdb/mips-linux-nat.c  |  7 ++--
 5 files changed, 80 insertions(+), 95 deletions(-)

-- 
2.33.0



More information about the Gdb-patches mailing list