Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Tom de Vries <tdevries@suse.de>, gdb-patches@sourceware.org
Subject: Re: [PATCH 00/11] [gdb/testsuite] Refactor exception handling
Date: Tue, 1 Sep 2026 10:07:09 -0700	[thread overview]
Message-ID: <e09f1e40-00d3-43d9-9dd7-8e609b747306@redhat.com> (raw)
In-Reply-To: <20260824135855.1195963-1-tdevries@suse.de>

Hi,

On 8/24/26 6:58 AM, Tom de Vries wrote:
> This patch series does two things:
> - use modern exception handling constructs like try/finally and
>    "return -options" (PR34552).
> - fix bug in "return -level 2" handling (PR34553).

Thank you for simplifying this exception handling. I've sent
a few little nits, but otherwise, this LGTM.

Reviewed-By: Keith Seitz <keiths@redhat.com>

Keith

> 
> Tested on x86_64-linux.
> 
> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34552
> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34553
> 
> Tom de Vries (11):
>    [gdb/testsuite] Normalize indentation in with_test_prefix
>    [gdb/testsuite] Fix return -level 2 bug in with_test_prefix
>    [gdb/testsuite] Simplify foreach_with_prefix
>    [gdb/testsuite] Refactor exception handling in foreach_with_prefix
>    [gdb/testsuite] Add transparent_uplevel
>    [gdb/testsuite] Refactor exception handling
>    [gdb/testsuite] Refactor exception handling in gdb_expect
>    [gdb/testsuite] Refactor exception handling in gdb_test_multiple
>    [gdb/testsuite] Refactor exception handling in
>      lock_file_acquire/release
>    [gdb/testsuite] Refactor exception handling in tentative_rename
>    [gdb/testsuite] Refactor exception handling in with_stub_devices
> 
>   gdb/testsuite/gdb.rocm/hcc-amdgpu-targets.exp |  15 +-
>   .../gdb.testsuite/foreach_with_prefix.exp     |  27 ++
>   gdb/testsuite/gdb.testsuite/gdb-test.exp      |  51 ++
>   .../gdb.testsuite/with-test-prefix.exp        |  45 ++
>   gdb/testsuite/lib/ada.exp                     |  14 +-
>   gdb/testsuite/lib/dwarf.exp                   |  15 +-
>   gdb/testsuite/lib/gdb-utils.exp               |  45 +-
>   gdb/testsuite/lib/gdb.exp                     | 449 ++++++++----------
>   gdb/testsuite/lib/mi-support.exp              |  22 +-
>   gdb/testsuite/lib/tuiterm.exp                 |  15 +-
>   10 files changed, 383 insertions(+), 315 deletions(-)
>   create mode 100644 gdb/testsuite/gdb.testsuite/with-test-prefix.exp
> 
> 
> base-commit: 7063b767cc9c2774e7ead41144e5613bacad6a0d


  parent reply	other threads:[~2026-09-01 17:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-24 13:58 Tom de Vries
2026-08-24 13:58 ` [PATCH 01/11] [gdb/testsuite] Normalize indentation in with_test_prefix Tom de Vries
2026-09-02 19:41   ` Tom Tromey
2026-09-04  9:48     ` Tom de Vries
2026-08-24 13:58 ` [PATCH 02/11] [gdb/testsuite] Fix return -level 2 bug " Tom de Vries
2026-09-02 19:46   ` Tom Tromey
2026-08-24 13:58 ` [PATCH 03/11] [gdb/testsuite] Simplify foreach_with_prefix Tom de Vries
2026-08-24 13:58 ` [PATCH 04/11] [gdb/testsuite] Refactor exception handling in foreach_with_prefix Tom de Vries
2026-08-24 13:58 ` [PATCH 05/11] [gdb/testsuite] Add transparent_uplevel Tom de Vries
2026-09-01 16:16   ` Keith Seitz
2026-08-24 13:58 ` [PATCH 06/11] [gdb/testsuite] Refactor exception handling Tom de Vries
2026-08-24 13:58 ` [PATCH 07/11] [gdb/testsuite] Refactor exception handling in gdb_expect Tom de Vries
2026-08-24 13:58 ` [PATCH 08/11] [gdb/testsuite] Refactor exception handling in gdb_test_multiple Tom de Vries
2026-08-25  7:29   ` Tom de Vries
2026-09-01 16:13   ` Keith Seitz
2026-08-24 13:58 ` [PATCH 09/11] [gdb/testsuite] Refactor exception handling in lock_file_acquire/release Tom de Vries
2026-08-24 13:58 ` [PATCH 10/11] [gdb/testsuite] Refactor exception handling in tentative_rename Tom de Vries
2026-08-24 13:58 ` [PATCH 11/11] [gdb/testsuite] Refactor exception handling in with_stub_devices Tom de Vries
2026-09-01 16:10   ` Keith Seitz
2026-09-01 17:07 ` Keith Seitz [this message]
2026-09-02 19:57   ` [PATCH 00/11] [gdb/testsuite] Refactor exception handling 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=e09f1e40-00d3-43d9-9dd7-8e609b747306@redhat.com \
    --to=keiths@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tdevries@suse.de \
    /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