Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] [gdb/testsuite] Clean up in gdb.multi/checkpoint-multi.exp
@ 2026-09-27  4:57 Tom de Vries
  2026-09-27  4:57 ` [PATCH 1/2] [gdb/testsuite] Factor out gdb_test_kill Tom de Vries
  2026-09-27  4:57 ` [PATCH 2/2] [gdb/testsuite] Clean up in gdb.multi/checkpoint-multi.exp Tom de Vries
  0 siblings, 2 replies; 4+ messages in thread
From: Tom de Vries @ 2026-09-27  4:57 UTC (permalink / raw)
  To: gdb-patches

I noticed a cleanup was needed in gdb.multi/checkpoint-multi.exp.

While working on it, I realized the opportunity for some refactoring related
to the kill command.

The first patch contains the refactoring.

The second patch contains the cleanup.

Tested on x86_64-linux and aarch64-linux.

Tom de Vries (2):
  [gdb/testsuite] Factor out gdb_test_kill
  [gdb/testsuite] Clean up in gdb.multi/checkpoint-multi.exp

 gdb/testsuite/gdb.base/attach-wait-input.exp  |  6 ++---
 gdb/testsuite/gdb.base/attach.exp             |  8 +++---
 gdb/testsuite/gdb.base/break-interp.exp       |  2 +-
 gdb/testsuite/gdb.base/break.exp              |  2 +-
 gdb/testsuite/gdb.base/catch-fork-kill.exp    |  3 +--
 gdb/testsuite/gdb.base/checkpoint.exp         |  6 ++---
 .../detach-in-breakpoint-commands.exp         |  2 +-
 gdb/testsuite/gdb.base/hbreak2.exp            |  3 +--
 gdb/testsuite/gdb.base/hook-stop.exp          |  2 +-
 gdb/testsuite/gdb.base/info-program.exp       |  3 +--
 gdb/testsuite/gdb.base/kill-after-signal.exp  |  6 +----
 gdb/testsuite/gdb.base/run-after-attach.exp   |  4 +--
 .../run-control-while-bg-execution.exp        |  2 +-
 gdb/testsuite/gdb.base/sepdebug.exp           |  2 +-
 gdb/testsuite/gdb.base/traced-thread.exp      |  2 +-
 gdb/testsuite/gdb.base/valgrind-bt.exp        |  2 +-
 gdb/testsuite/gdb.cp/mb-templates.exp         |  3 +--
 gdb/testsuite/gdb.guile/scm-value.exp         |  4 +--
 gdb/testsuite/gdb.multi/checkpoint-multi.exp  | 17 ++++++------
 gdb/testsuite/gdb.multi/multi-attach.exp      |  4 +--
 .../gdb.multi/pending-bp-del-inferior.exp     |  3 +--
 .../gdb.multi/watchpoint-multi-exit.exp       |  3 +--
 gdb/testsuite/gdb.python/py-value.exp         |  4 +--
 gdb/testsuite/gdb.reverse/break-precsave.exp  |  4 +--
 .../gdb.reverse/consecutive-precsave.exp      |  4 +--
 gdb/testsuite/gdb.reverse/finish-precsave.exp |  4 +--
 gdb/testsuite/gdb.reverse/i386-precsave.exp   |  4 +--
 .../gdb.reverse/machinestate-precsave.exp     |  4 +--
 gdb/testsuite/gdb.reverse/sigall-precsave.exp |  4 +--
 gdb/testsuite/gdb.reverse/solib-precsave.exp  |  4 +--
 gdb/testsuite/gdb.reverse/step-precsave.exp   |  4 +--
 gdb/testsuite/gdb.reverse/until-precsave.exp  |  4 +--
 gdb/testsuite/gdb.reverse/watch-precsave.exp  |  4 +--
 gdb/testsuite/gdb.server/ext-attach.exp       |  2 +-
 gdb/testsuite/gdb.server/ext-restart.exp      |  2 +-
 gdb/testsuite/gdb.server/ext-run.exp          |  2 +-
 gdb/testsuite/gdb.server/ext-wrapper.exp      |  2 +-
 .../gdb.server/extended-remote-restart.exp    |  6 ++---
 .../attach-many-short-lived-threads.exp       |  2 +-
 .../infcall-from-bp-cond-simple.exp           |  3 +--
 gdb/testsuite/gdb.threads/kill.exp            |  6 +----
 .../gdb.threads/threads-after-exec.exp        |  4 +--
 gdb/testsuite/lib/gdb.exp                     | 26 +++++++++++++++++++
 43 files changed, 92 insertions(+), 96 deletions(-)


base-commit: 196286d25ccc652dc086ae173d1cfa836bed0618
-- 
2.51.0


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

end of thread, other threads:[~2026-09-28 11:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-27  4:57 [PATCH 0/2] [gdb/testsuite] Clean up in gdb.multi/checkpoint-multi.exp Tom de Vries
2026-09-27  4:57 ` [PATCH 1/2] [gdb/testsuite] Factor out gdb_test_kill Tom de Vries
2026-09-28 11:01   ` Andrew Burgess
2026-09-27  4:57 ` [PATCH 2/2] [gdb/testsuite] Clean up in gdb.multi/checkpoint-multi.exp 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