Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@redhat.com>
To: gdb-patches@sourceware.org
Cc: Andrew Burgess <aburgess@redhat.com>
Subject: [PATCHv2 0/2] Fix regression in 'list' command
Date: Wed, 19 Nov 2025 10:32:36 +0000	[thread overview]
Message-ID: <cover.1763548233.git.aburgess@redhat.com> (raw)
In-Reply-To: <cover.1763461561.git.aburgess@redhat.com>

In v2:

  - Removed use of 'sed -i' as suggested by Andreas.

  - Updated the test in patch (1) to avoid failures on remote host
    boards.

  - Rebased to avoid merge conflicts with recently added styling in
    cli/cli-cmds.c.

---

The first patch fixes a regression in the 'list' command which has
been introduced since GDB 16, so should probably be fixed before GDB
17 is released.

The second patch is an improvement, it's not part of the regression
fix.

If approved then I plan to backport the first patch only to the GDB 17
branch.  Both patches would be applied to the master branch.

Thanks,
Andrew

---

Andrew Burgess (2):
  gdb: fix 'list' for multiple source file results
  gdb: display a symbol more often in multi-file list output

 gdb/cli/cli-cmds.c                           |   8 ++
 gdb/linespec.c                               |  15 ++-
 gdb/testsuite/gdb.base/list-multi-source.c   |  60 +++++++++
 gdb/testsuite/gdb.base/list-multi-source.exp | 129 +++++++++++++++++++
 4 files changed, 207 insertions(+), 5 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/list-multi-source.c
 create mode 100644 gdb/testsuite/gdb.base/list-multi-source.exp


base-commit: d07e866442112d19511d7722014cff5e16e43413
-- 
2.47.1


  parent reply	other threads:[~2025-11-19 10:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-18 10:28 [PATCH " Andrew Burgess
2025-11-18 10:28 ` [PATCH 1/2] gdb: fix 'list' for multiple source file results Andrew Burgess
2025-11-18 10:42   ` Andreas Schwab
2025-11-18 14:28     ` Andrew Burgess
2025-11-18 10:28 ` [PATCH 2/2] gdb: display a symbol more often in multi-file list output Andrew Burgess
2025-11-19 10:32 ` Andrew Burgess [this message]
2025-11-19 10:32   ` [PATCHv2 1/2] gdb: fix 'list' for multiple source file results Andrew Burgess
2025-12-04 16:48     ` Tom Tromey
2025-12-05 10:50       ` Andrew Burgess
2025-12-04 20:18     ` Kevin Buettner
2025-12-05  7:14       ` Eli Zaretskii
2025-11-19 10:32   ` [PATCHv2 2/2] gdb: display a symbol more often in multi-file list output Andrew Burgess
2025-12-04 16:53     ` 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=cover.1763548233.git.aburgess@redhat.com \
    --to=aburgess@redhat.com \
    --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