From: Klaus Gerlicher <klaus.gerlicher@intel.com>
To: gdb-patches@sourceware.org
Cc: christina.joos@intel.com, luis.machado.foss@gmail.com
Subject: [PATCH v4 0/1] Fix block filter heuristic in linespec to preserve distinct code paths
Date: Wed, 23 Sep 2026 08:40:12 +0000 [thread overview]
Message-ID: <20260923084013.419968-1-klaus.gerlicher@intel.com> (raw)
From: "Gerlicher, Klaus" <klaus.gerlicher@intel.com>
Hi all, hi Christina, Luis,
thanks for your reviews and feedback.
This is V4 of the relax block filter patch, addressing review feedback
on V3.
V3 is here:
https://inbox.sourceware.org/gdb-patches/SN7PR11MB7638BE2D9E02DC0ED9BC901889DC2@SN7PR11MB7638.namprd11.prod.outlook.com/
- amd64_insn_branch_target now reuses amd64_get_insn_details
- added self-test coverage for the amd64 branch-target decoder
- simplified the set/show linespec-extended-block-filter help text:
- testsuite cleanups
No changes to the aarch64 parts, which Luis already reviewed.
If I may ask again, I did not find any documentation on the original heuristic
in GDB.texinfo and so I also did not try to add anything there. I'm also
not sure where we would put such description. If anyone could point
me where to put it, I would love to add some documentation there
since things are getting more complicated now.
Thanks,
Klaus
Gerlicher, Klaus (1):
gdb/linespec: relax block filter to preserve distinct code paths
gdb/NEWS | 11 +
gdb/aarch64-tdep.c | 91 ++++++
gdb/amd64-tdep.c | 121 ++++++++
gdb/arch-utils.c | 10 +
gdb/arch-utils.h | 1 +
gdb/arch/aarch64-insn.c | 23 ++
gdb/arch/aarch64-insn.h | 2 +
gdb/gdbarch-gen.c | 59 +++-
gdb/gdbarch-gen.h | 16 +
gdb/gdbarch_components.py | 18 ++
gdb/linespec.c | 148 ++++++++-
.../gdb.linespec/block-filter-cases.c | 126 ++++++++
.../gdb.linespec/block-filter-cases.exp | 290 ++++++++++++++++++
13 files changed, 911 insertions(+), 5 deletions(-)
create mode 100644 gdb/testsuite/gdb.linespec/block-filter-cases.c
create mode 100644 gdb/testsuite/gdb.linespec/block-filter-cases.exp
--
2.34.1
________________________________________
Intel Deutschland GmbH
Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany
Tel: +49 (89) 99143-0
www.intel.de
Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran Sitaraman
Chairperson of the Supervisory Board: Sonja Pierer
Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB 186928
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
next reply other threads:[~2026-09-23 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-23 8:40 Klaus Gerlicher [this message]
2026-09-23 8:40 ` [PATCH v4 1/1] gdb/linespec: relax block filter " Klaus Gerlicher
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=20260923084013.419968-1-klaus.gerlicher@intel.com \
--to=klaus.gerlicher@intel.com \
--cc=christina.joos@intel.com \
--cc=gdb-patches@sourceware.org \
--cc=luis.machado.foss@gmail.com \
/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