Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/2] [gdb/testsuite] Clean up in gdb.multi/checkpoint-multi.exp
Date: Sun, 27 Sep 2026 06:57:19 +0200	[thread overview]
Message-ID: <20260927045721.1976335-1-tdevries@suse.de> (raw)

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


             reply	other threads:[~2026-09-27  4:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-27  4:57 Tom de Vries [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260927045721.1976335-1-tdevries@suse.de \
    --to=tdevries@suse.de \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox