[0/2] Make linux checkpoints work with multiple inferiors

Message ID 20240323203056.1793487-1-kevinb@redhat.com
Headers
Series Make linux checkpoints work with multiple inferiors |

Message

Kevin Buettner March 23, 2024, 8:27 p.m. UTC
  This series fixes some problems with the current checkpoint code.  The
first patch makes the checkpoint code inferior aware, fixing a number
of bugs.  The second patch fixes a nit with the way that checkpoints
are sometimes printed.

Kevin Buettner (2):
  Make linux checkpoints work with multiple inferiors
  Make thread_db_target::pid_to_str checkpoint-aware

 gdb/linux-fork.c                             | 361 ++++++----
 gdb/linux-fork.h                             |  13 +-
 gdb/linux-nat.c                              |  20 +-
 gdb/linux-thread-db.c                        |   4 +-
 gdb/testsuite/gdb.multi/checkpoint-multi.exp | 668 +++++++++++++++++++
 5 files changed, 925 insertions(+), 141 deletions(-)
 create mode 100644 gdb/testsuite/gdb.multi/checkpoint-multi.exp