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/3] [gdb/testsuite] Clean up left-over processes
Date: Mon, 17 Feb 2025 17:36:16 +0100	[thread overview]
Message-ID: <20250217163619.8662-1-tdevries@suse.de> (raw)

While investigating a testsuite problem using ps fx, I noticed a lot of
left-over processes.

I wrote a demonstrator patch to detect those in a less ad-hoc way, and
filed my findings as PR32709.

This series consists of three patches, and each patch fixes a different
root cause for this problem.

This fixes part of PR32709, I didn't manage the gdbserver part.

Tom de Vries (3):
  [gdb/testsuite] Don't start gdb in gdb.base/gstack.exp
  [gdb/testsuite] Kill left-over process in
    gdb.base/add-symbol-file-attach.exp
  [gdb/testsuite] Exit left-over gdb in gdb.mi/mi-break.exp

 .../gdb.base/add-symbol-file-attach.exp       |  3 ++
 gdb/testsuite/gdb.base/gstack.exp             |  4 +-
 gdb/testsuite/gdb.mi/mi-break.exp             |  4 ++
 gdb/testsuite/gdb.mi/mi-multi-commands.exp    |  4 ++
 gdb/testsuite/gdb.mi/mi-thread-bp-deleted.exp |  6 ++-
 .../gdb.mi/mi-thread-specific-bp.exp          | 41 +++++++++++++------
 gdb/testsuite/gdb.mi/mi-watch.exp             |  4 ++
 gdb/testsuite/gdb.mi/new-ui-bp-deleted.exp    |  6 ++-
 gdb/testsuite/gdb.mi/new-ui-mi-sync.exp       | 26 ++++++++----
 gdb/testsuite/gdb.mi/run-with-two-mi-uis.exp  |  4 ++
 .../gdb.mi/user-selected-context-sync.exp     | 35 ++++++++++------
 gdb/testsuite/lib/gdb.exp                     | 21 ++++++++++
 12 files changed, 118 insertions(+), 40 deletions(-)


base-commit: 114396befddc4104f9d7dd09b34e878bfaf440a8
-- 
2.43.0


             reply	other threads:[~2025-02-17 16:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-17 16:36 Tom de Vries [this message]
2025-02-17 16:36 ` [PATCH 1/3] [gdb/testsuite] Don't start gdb in gdb.base/gstack.exp Tom de Vries
2025-02-17 17:20   ` Keith Seitz
2025-02-18  7:59     ` Tom de Vries
2025-02-17 16:36 ` [PATCH 2/3] [gdb/testsuite] Kill left-over process in gdb.base/add-symbol-file-attach.exp Tom de Vries
2025-02-24 17:26   ` Tom Tromey
2025-02-24 17:57     ` Tom de Vries
2025-02-24 18:05       ` Tom Tromey
2025-02-24 18:43         ` Tom de Vries
2025-02-17 16:36 ` [PATCH 3/3] [gdb/testsuite] Exit left-over gdb in gdb.mi/mi-break.exp Tom de Vries
2025-02-24 17:28   ` Tom Tromey

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=20250217163619.8662-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