public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] [gdb] Two checkpoint fixes
@ 2024-01-08 15:25 Tom de Vries
  2024-01-08 15:25 ` [PATCH 1/3] [gdb] Make variable printed bool in info_checkpoints_command Tom de Vries
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Tom de Vries @ 2024-01-08 15:25 UTC (permalink / raw)
  To: gdb-patches

While investigating PR31203 "[gdb] FAIL: gdb.base/kill-during-detach.exp: exit_p=true: checkpoint_p=true: python kill_and_detach()" I ran into two checkpoint issues.

I filed these as:
- PR31211 "[gdb] info checkpoints show incorrect info"
- PR31209 "[gdb, delete checkpoint] inferior.c:406: internal-error: find_inferior_pid: Assertion `pid != 0' failed"

This patch series contains fixes for both.

While working on PR31211, I noticed a simplification opportunity in
info_checkpoints_command, so the series starts out with this simplification.

Tested on x86_64-linux.

Tom de Vries (3):
  [gdb] Make variable printed bool in info_checkpoints_command
  [gdb] Fix info checkpoints
  [gdb] Fix assertion failure for checkpoint delete 0

 gdb/linux-fork.c                      | 33 +++++++++++++++++++++++----
 gdb/testsuite/gdb.base/checkpoint.exp | 22 +++++++++++++++---
 2 files changed, 47 insertions(+), 8 deletions(-)


base-commit: 53ba8c111774d318fa572669ba4d3b76121e102b
-- 
2.35.3


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

end of thread, other threads:[~2024-01-10 10:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-08 15:25 [PATCH 0/3] [gdb] Two checkpoint fixes Tom de Vries
2024-01-08 15:25 ` [PATCH 1/3] [gdb] Make variable printed bool in info_checkpoints_command Tom de Vries
2024-01-09 17:54   ` Kevin Buettner
2024-01-08 15:25 ` [PATCH 2/3] [gdb] Fix info checkpoints Tom de Vries
2024-01-09 18:03   ` Kevin Buettner
2024-01-08 15:25 ` [PATCH 3/3] [gdb] Fix assertion failure for checkpoint delete 0 Tom de Vries
2024-01-10  5:28   ` Kevin Buettner
2024-01-10 10:25     ` Tom de Vries

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).