public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Make linux checkpoints work with multiple inferiors
@ 2024-04-14 19:44 Kevin Buettner
  2024-04-14 19:44 ` [PATCH v3 1/3] " Kevin Buettner
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Kevin Buettner @ 2024-04-14 19:44 UTC (permalink / raw)
  To: gdb-patches; +Cc: Pedro Alves, Kevin Buettner

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 and third patches are largely cosmetic - they
make changes to checkpoint related output.

The v2 series incorporates Pedro's suggestions regarding the
numbering of checkpoint ids.  See the first patch for details.  The
tests have been revised to account for these changes and new tests
have been added as well.

This v3 series splits out a cosmetic change from the first patch.
It capitalizes the output of a successful checkpoint command.
This was prompted by the Linaro regression tester, which, due to the
capitalization change, found two regressions in
gdb.base/kill-during-detach.exp.  (I thought I was running this test
during my own testing, but found that it was not being run due to a
typo in the TESTS= portion of the "make check" line.)

Kevin Buettner (3):
  Make linux checkpoints work with multiple inferiors
  Capitalize output of successful checkpoint command
  Make thread_db_target::pid_to_str checkpoint-aware

 gdb/linux-fork.c                              | 519 +++++++++----
 gdb/linux-fork.h                              |  15 +-
 gdb/linux-nat.c                               |  20 +-
 gdb/linux-thread-db.c                         |   4 +-
 gdb/testsuite/gdb.base/checkpoint.exp         |  26 +-
 gdb/testsuite/gdb.base/kill-during-detach.exp |   2 +-
 gdb/testsuite/gdb.multi/checkpoint-multi.exp  | 687 ++++++++++++++++++
 7 files changed, 1084 insertions(+), 189 deletions(-)
 create mode 100644 gdb/testsuite/gdb.multi/checkpoint-multi.exp

-- 
2.44.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-03 15:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-14 19:44 [PATCH v3 0/3] Make linux checkpoints work with multiple inferiors Kevin Buettner
2024-04-14 19:44 ` [PATCH v3 1/3] " Kevin Buettner
2024-05-03 15:54   ` Pedro Alves
2024-04-14 19:44 ` [PATCH v3 2/3] Capitalize output of successful checkpoint command Kevin Buettner
2024-05-03 15:54   ` Pedro Alves
2024-04-14 19:44 ` [PATCH v3 3/3] Make thread_db_target::pid_to_str checkpoint-aware Kevin Buettner
2024-05-03 15:55   ` Pedro Alves
2024-05-02  1:49 ` [PATCH v3 0/3] Make linux checkpoints work with multiple inferiors Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).