From: Guinevere Larsen <guinevere@redhat.com>
To: gdb-patches@sourceware.org
Subject: [PINGv3][PATCH v6 0/3] Introduce syntax for linker-namespace specific symbols
Date: Thu, 5 Mar 2026 09:20:34 -0300 [thread overview]
Message-ID: <cb338adb-0d12-4ba5-aebd-ef9ff1318353@redhat.com> (raw)
In-Reply-To: <94a86a21-a7ef-4f2b-9f3a-a84f0c2db4f9@redhat.com>
Ping :)
On 1/14/26 11:11 AM, Guinevere Larsen wrote:
> Ping :)
> On 1/6/26 2:17 PM, Guinevere Larsen wrote:
>> Ping!
>> On 11/27/25 5:30 PM, Guinevere Larsen wrote:
>>> Ping :)
>>>
>>> On 10/29/25 9:58 AM, Guinevere Larsen wrote:
>>>> This series adds support for the syntax [[N]]::foo to find symbols
>>>> that
>>>> belong to specific namespaces, while also making GDB's behavior more
>>>> consistent when a namespace is not specified. This needs one
>>>> preparatory
>>>> patch and 2 patches actually implementing this feature
>>>>
>>>> Patch 1 is an essential fix, updating how we calculate a variable's
>>>> copy
>>>> relocation to take linker namespaces into account.
>>>>
>>>> Patches 2 and 3 implement the new syntax, adding the necessary
>>>> supporting code and updating error messages when symbols can't be
>>>> found
>>>> - where it made sense.
>>>>
>>>> Changes for v6:
>>>> * Rebased on master
>>>> * Fixed a crash when using the [[N]]::foo syntax before starting the
>>>> inferior
>>>>
>>>> Changes for v5:
>>>> * fixed crash when getting the value of a variable before the inferior
>>>> starts.
>>>> * Rebased on master
>>>>
>>>> Changes for v4:
>>>> * Fixed final documentation feedback from Eli.
>>>> * Changed error message when [[N]]::foo::bar fails to find 'foo'.
>>>> * Fixed build breakage.
>>>>
>>>> Changes for v3:
>>>> * Removed previous patches 1 and 2, as Simon's recently merged patches
>>>> already did those in a better way.
>>>> * parser_state now also takes the current solib_ops, since that
>>>> can't be
>>>> obtained from gdbarch anymore.
>>>>
>>>> Changes for v2:
>>>> * solib_supports_linker_namespaces now always expects a pointer.
>>>> * Previous patches 2 and 3 were dropped.
>>>> * lookup_minimal_symbol_linkage now takes an array_view.
>>>> * created new tokens for [[ and ]], to ensure that [[N]] looks like
>>>> that.
>>>> * Fixed formatting nits from Eli.
>>>>
>>>> Guinevere Larsen (3):
>>>> gdb: make lookup_minimal_symbol_linkage work with linker namespaces
>>>> gdb: Make the parser recognize the [[N]] syntax for variables
>>>> gdb: extend the [[N]]::foo syntax for files
>>>>
>>>> gdb/NEWS | 6 +
>>>> gdb/c-exp.y | 88 +++++++++---
>>>> gdb/doc/gdb.texinfo | 6 +
>>>> gdb/dwarf2/ada-imported.c | 8 +-
>>>> gdb/linespec.c | 4 +-
>>>> gdb/minsyms.c | 139
>>>> ++++++++++++-------
>>>> gdb/minsyms.h | 17 ++-
>>>> gdb/parse.c | 3 +-
>>>> gdb/parser-defs.h | 39 +++++-
>>>> gdb/rust-parse.c | 3 +-
>>>> gdb/solib-svr4.c | 20 ---
>>>> gdb/solib.c | 86 +++++++++++-
>>>> gdb/solib.h | 19 +++
>>>> gdb/symtab.c | 76 ++++++++--
>>>> gdb/symtab.h | 15 +-
>>>> gdb/testsuite/gdb.base/dlmopen-ns-ids-lib.c | 14 ++
>>>> gdb/testsuite/gdb.base/dlmopen-ns-ids-main.c | 3 +
>>>> gdb/testsuite/gdb.base/dlmopen-ns-ids.exp | 65 +++++++++
>>>> 18 files changed, 499 insertions(+), 112 deletions(-)
>>>>
>>>>
>>>> base-commit: 0633b78640dc892265d148f24881d544d4ddd16e
>>>
>>>
>>
>
--
Cheers,
Guinevere Larsen
It/she
next prev parent reply other threads:[~2026-03-05 12:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-29 12:58 [PATCH " Guinevere Larsen
2025-10-29 12:58 ` [PATCH v6 1/3] gdb: make lookup_minimal_symbol_linkage work with linker namespaces Guinevere Larsen
2026-01-28 11:22 ` Andrew Burgess
2025-10-29 12:58 ` [PATCH v6 2/3] gdb: Make the parser recognize the [[N]] syntax for variables Guinevere Larsen
2025-10-29 12:58 ` [PATCH v6 3/3] gdb: extend the [[N]]::foo syntax for files Guinevere Larsen
2025-11-27 20:30 ` [PING]Re: [PATCH v6 0/3] Introduce syntax for linker-namespace specific symbols Guinevere Larsen
2025-12-12 17:20 ` [PINGv2][PATCH " Guinevere Larsen
2026-01-06 17:17 ` Guinevere Larsen
2026-01-14 14:11 ` Guinevere Larsen
2026-03-05 12:20 ` Guinevere Larsen [this message]
2026-03-05 12:21 ` [PINGv3][PATCH " Guinevere Larsen
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=cb338adb-0d12-4ba5-aebd-ef9ff1318353@redhat.com \
--to=guinevere@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