[v4,0/2] gdbserver: add thread map

Message ID 20241022150221.2125847-1-stephan.rohr@intel.com
Headers
Series gdbserver: add thread map |

Message

Rohr, Stephan Oct. 22, 2024, 3:02 p.m. UTC
  Hi all,

this is version 4 of my patch that extends the 'process_info' struct
with a process specific thread map for faster lookup of threads.

You can find v3 of the patch at
https://sourceware.org/pipermail/gdb-patches/2024-October/212481.html

You can find Simon's feedback on v3 at
https://sourceware.org/pipermail/gdb-patches/2024-October/212490.html
https://sourceware.org/pipermail/gdb-patches/2024-October/212492.html
https://sourceware.org/pipermail/gdb-patches/2024-October/212493.html

You can find v2 of the patch at
https://sourceware.org/pipermail/gdb-patches/2024-September/211509.html

Simon's feedback on v2:
https://sourceware.org/pipermail/gdb-patches/2024-October/212207.html

My reply on v2:
https://sourceware.org/pipermail/gdb-patches/2024-October/212471.html

Changes from v3:
  * Merged the patch introducing gdb::function_view.
  * Fixed the review findings from Simon.

I appreciate your feedback.

Thanks
Stephan

Stephan Rohr (2):
  gdbserver: introduce 'owning_introdusive_list' type
  gdbserver: add process specific thread list and map

 gdbserver/gdbthread.h  |  28 ++++--
 gdbserver/inferiors.cc | 222 ++++++++++++++++++++++++++---------------
 gdbserver/inferiors.h  |  46 +++++++--
 gdbserver/server.cc    |  68 ++++++++++---
 4 files changed, 257 insertions(+), 107 deletions(-)