From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ZmwpEshDXWmkbS8AWB0awg (envelope-from ) for ; Tue, 06 Jan 2026 12:18:00 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=OzHIakLS; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 384011E08D; Tue, 06 Jan 2026 12:18:00 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 5AC481E08D for ; Tue, 06 Jan 2026 12:17:59 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id CBA614BA2E1F for ; Tue, 6 Jan 2026 17:17:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CBA614BA2E1F Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=OzHIakLS Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id B61024BA2E04 for ; Tue, 6 Jan 2026 17:17:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B61024BA2E04 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B61024BA2E04 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1767719852; cv=none; b=ue1Y14VSyWSz8E8JCg2+MPAfi3Jyxocut/6BdOlytQqJgbSJKpGQtUTav4HnOdfnMv2NCnGacksgjch7DOVWLy4DZmKHHUV0vxbfA2ANW10U0PFJx6uLDrS48AaiG60aP9HM1K+XjBkoQ0sTR+XMvQcknV1lqOsbqbIRpc9tETU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1767719852; c=relaxed/simple; bh=0nVEtD+IGJRlC+NtF0wW2ZfAIgX2506IOS7NkI802qE=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=Og9nl3Ri0n9l6/cCBxvyEywOP45Uv9ndZnwptR2xn1ZOH1+1bTTqXjhdfFRxSwOwNBlKMyqUMOIq8nX44TtO1XgZAwFcPZ+3iO41C7q6VPBAtnlJEez+sIXPlg82C6Fo2ershE15wICYkTCOyIEn7vFbuOdd79kFEhHLxgb4Ldg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B61024BA2E04 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1767719852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Vk4C4nSYYq6SNHYfaaf4DBP9ZhnMqI1mdA1HbXSkgko=; b=OzHIakLSf8VyHdKlImYMBm1Qol9vBWr74gnrsmilM/e4y+e8h2W14RNiU/iQM9lDZgFH4k lzHluG6iAH7BXe4OHG65ct4QbKr5ykuP5GKNJHzRUBPX4XgQoCGHNkfRvrAf4yVCMjfapM kSOPhRRstZA3F3E+8dIiHZPaaqtruw8= Received: from mail-dy1-f198.google.com (mail-dy1-f198.google.com [74.125.82.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-459-D1j72QEvOWqgepOf3bYgwg-1; Tue, 06 Jan 2026 12:17:31 -0500 X-MC-Unique: D1j72QEvOWqgepOf3bYgwg-1 X-Mimecast-MFC-AGG-ID: D1j72QEvOWqgepOf3bYgwg_1767719850 Received: by mail-dy1-f198.google.com with SMTP id 5a478bee46e88-2ae546fa935so1882765eec.1 for ; Tue, 06 Jan 2026 09:17:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767719849; x=1768324649; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Vk4C4nSYYq6SNHYfaaf4DBP9ZhnMqI1mdA1HbXSkgko=; b=ICWJ1eUDRGV2fxFqU2UaAZseOjayU18KlhEHyhELYvpkYm5EFCRuivFmh9nX9WIoI/ pQS5hN1x7cjTtoWRhQgIl96PD4iAUJVfyXFRceRC8CZ/qUfF8A48KU7ujjpxef0m7D+p DtjHk10BLeN4FgXvH9KHKynFWoZvbCBlo8dW4xL4JMdqPJAAd89Umyz0B5hil+RCbl0O GAVJbtPnQERcSZ1sojgYDhn89AqDAYqIEOp2449LIj0T0Mo+oFbGrizcvCSoHqb6wGxZ e89I7/+VtOLpFVxxvXuaPtSqsOHsfaDHW8IYmY0vsV9ouLpbg7VEMnZ+Z43SyUN9ntyP 42Vw== X-Gm-Message-State: AOJu0Yz/2EXKR+OieuaGsas30PMMQgdbMeQ+Or7OTSQI5m0qtwPGhO9S +lb7k0WMk/tdf4RYwg73QtiU4GqmHgtVPpfClS0CNanCrgo+FM6TVhJHxb3jzM189ImwGvZhmuO nJaIx1eQQDQaUfuX+TnE9UnayjOxxf3VKohBtrthqEfgKqdgjoE7AJOxI53zPoZYHy8W/WEHEMa zm00wfunV5PKoCvAkOaioFRnvH9JXKYIQGv8GlFpbL9iBYCCY6 X-Gm-Gg: AY/fxX5DIygwB5kaWqCjfxSIkV53t7Q0qt/vtnhiyunRIbKlkd7a+2BDQRUx8vhDN7e u7bz0a7m5hPGu9QPbaLri+XDFokSYInrSrumKx2O76lPe9sbNLyzAqUEpEAx4O+q6Yb2BkmVbfI G9u+3Nu4rBf0WHRQ8g1g2O7nM1jrn3inxZAL1splHdYaVfBkMG7zeLllrEhVYwF90nXKI2cmj2e 0ASBBXzR4OpemtM49xd4kh+m7CtF83fCPZvHAEhqOVqv/mKjKzjlj9trMtyCl4c+OoZjcjxg5LQ Co4bWK0h/t/QWtpBF5F8059VGQrZKBlCeU/ET42OWplni+jvaW+Ply1Yt7WmtqvmeirCXxD1cKw k9AQH2+4GyaO2Fl3bBM7s6A== X-Received: by 2002:a05:7301:438e:b0:2b0:571a:28a5 with SMTP id 5a478bee46e88-2b16f86d152mr1977289eec.18.1767719849557; Tue, 06 Jan 2026 09:17:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8C01JI3N5jdBaMOKTHslYtcc0Bbcypy1aUieq3k3DT2t1qME4Bglg7ikorDhUWop5Aro4qw== X-Received: by 2002:a05:7301:438e:b0:2b0:571a:28a5 with SMTP id 5a478bee46e88-2b16f86d152mr1977275eec.18.1767719848858; Tue, 06 Jan 2026 09:17:28 -0800 (PST) Received: from ?IPV6:2804:14d:8084:a5b1::1000? ([2804:14d:8084:a5b1::1000]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2b1706a5d3dsm3862928eec.13.2026.01.06.09.17.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jan 2026 09:17:28 -0800 (PST) Message-ID: <150dc28e-3b3b-4ca4-826d-3a0c46773376@redhat.com> Date: Tue, 6 Jan 2026 14:17:25 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PINGv2][PATCH v6 0/3] Introduce syntax for linker-namespace specific symbols To: gdb-patches@sourceware.org, Guinevere Larsen References: <20251029125831.2102647-1-guinevere@redhat.com> <0fe8e6ab-5852-4f14-9a02-8f92cd9c5d6a@redhat.com> From: Guinevere Larsen In-Reply-To: <0fe8e6ab-5852-4f14-9a02-8f92cd9c5d6a@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: l3nmb9J-aSJAwqxFbyssQMpx75HE_XeEAZwhziN4ctg_1767719850 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org 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