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

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

Message

Rohr, Stephan Oct. 28, 2024, 8:20 a.m. UTC
  Hello,

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

This commit fixes the typo 'introdusive list' typo.

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

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 v4:
  - Fixed typo in commit message.

Thanks
Stephan

Stephan Rohr (2):
  gdbserver: change 'all_processes' and 'all_threads' 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(-)