From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 3KW4KMLW9meaYy0AWB0awg (envelope-from ) for ; Wed, 09 Apr 2025 16:21:22 -0400 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=MHQVAoRl; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 93C431E0C3; Wed, 9 Apr 2025 16:21:22 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.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 autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 E26971E05C for ; Wed, 9 Apr 2025 16:21:19 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 879BC3845876 for ; Wed, 9 Apr 2025 20:21:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 879BC3845876 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=MHQVAoRl 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 9B96A385EC33 for ; Wed, 9 Apr 2025 20:20:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9B96A385EC33 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 9B96A385EC33 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=1744230045; cv=none; b=w2F+DV9wRh/CEu56SOQI7oqwlx9l3WaIOrU4ziK+7e4B4HdC9jWQ1mT3vX3Z2YiKEjzl38TFcUNVjRYesTSUr+0629mejNh0rOA94kp+W4IRwaHL09l2xt/LlLrA5Hoc5YbgDHx0WhHFqMmSNixjY3Q4PGRMbnLRUTkaVPw71iI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744230045; c=relaxed/simple; bh=35AiL++lSh9bCnvcSpPYfjPZ47PCzlKdVRH8o/RDzs4=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=WmNhLGj1dNiyi3JT119aEBypaqr4ZOx6TXriNiSCuJJxod1eDog8ReIAKkdpbMoTijIT7HALBVeD5JgKiHEI8KP/dsTa9dy2WXVbGyinCHp08jREp6xE/ADG+YO30y3wVeGdgMPbixPuGiKxNcaJlyVEKdgrXrG/kiUukACmYX8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B96A385EC33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1744230045; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v1LCtbQ9RHn6K0NuqQ/GL/6m3A6m2EXSEwP5RUxp9a0=; b=MHQVAoRlHb1gQrsSqZqHiPV7HTaIwn8ax4BZwQj0R2rPD1hNEsQakShKHJnOfOtjmfUlw8 KaMOERjihNa39Gtz4gIPxvy+bwf5RHgLVaSu/NBoZ5hh05npiF0aaaZND38+BYO1TbOemb JOrfPZAamgIS8o5hm8GpshTveRuakqw= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-569-izn0QzrgP-GyzTQ2DYBmYw-1; Wed, 09 Apr 2025 16:20:42 -0400 X-MC-Unique: izn0QzrgP-GyzTQ2DYBmYw-1 X-Mimecast-MFC-AGG-ID: izn0QzrgP-GyzTQ2DYBmYw_1744230042 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-6ed16cc6e39so490846d6.1 for ; Wed, 09 Apr 2025 13:20:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744230041; x=1744834841; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=v1LCtbQ9RHn6K0NuqQ/GL/6m3A6m2EXSEwP5RUxp9a0=; b=jZaroLtW6jIZcJ1maPqZY9lVewCfeLmD5cDOv/YmiZBdwGewG74cHWUZ8h3JOFbuO7 Nrr55K+8c7ql6ZcHAMUwzEC3ozysG4/ndI1YVblq7msBnKopsptG4GmAmFA94IrIxVD/ BvxX+NWq8OLlWbEsnQX2GU5nnkyH0ZoZPLQjdwiaidy3E5YWhB87JMQ7kRh4XDkHJc7+ 1BOdefm1zbshjwA0Z0hGFiQE2w/AOG4kZZIvCzLeN5kKoMsZV4X2H919yczGCP0CI9Ud 3OvhHufDTPSIKstbWATEYcnsuQr7J8XJ0KmbRgwCXCIwxKnC/eU2RoMQn/0AIAg1Hf1T gSng== X-Gm-Message-State: AOJu0Yzg08WE6PAi/XN5fafEiX7P8gmAmiB79ayiMNYNmYF2yJMv2QIQ Ko6GXcpSk+N+khpseSTi9+rXZHEbs87aCV6ox4ptXWy+Xlvqg52FV99FZ/N2DlcVC70uBs9QLd9 muJIDJPLzGJt3Rh2Ai7xVmAgYUQdGCbj6WH8Jlko18StywkxjPKZGu1mKcpGay9djfN8= X-Gm-Gg: ASbGncspq0yb/P4ZxQS7MUljSLzKFnPHWw9nfy/E7W1QiwEUT5vEcnRj2qmK7hczzeX NZXwjLaZkc/1Zrs/BYPW6B8WyqkUom1QVxtMi/Xh/6/gHk4W/mrvPbLNje2cHptDlPXjTk8BK0J 8RLaI0ZIKyIMLUI2Ih2ppdDvOxzxXxpJ7MsojG0IqPaHNK74usWEryJaIQJlEjje1NGH9vIIymH EWX+ZmR/LBaFKbgQDzXIm82zBCGJjRigiCBMDme8RsQk2Q7vCiOWeLahewYnDyD1I6L29xrV5f9 yGSH3XIPnXefO96QcT0HwNs= X-Received: by 2002:a05:6214:b69:b0:6f0:e2d4:5936 with SMTP id 6a1803df08f44-6f0e5a6aad5mr6469806d6.22.1744230041543; Wed, 09 Apr 2025 13:20:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFx4qmB4rDMJ7ORniYuIRdUezKsKqRlf5dnDybkACS6DtQnte/sjD5JyfjIXAVA7U9KvTYMXA== X-Received: by 2002:a05:6214:b69:b0:6f0:e2d4:5936 with SMTP id 6a1803df08f44-6f0e5a6aad5mr6469496d6.22.1744230041157; Wed, 09 Apr 2025 13:20:41 -0700 (PDT) Received: from ?IPV6:2804:14d:8084:9a69::1001? ([2804:14d:8084:9a69::1001]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6f0de95fa03sm11265946d6.8.2025.04.09.13.20.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Apr 2025 13:20:40 -0700 (PDT) Message-ID: Date: Wed, 9 Apr 2025 17:20:38 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] Add some linker namespaces conveniences To: Kevin Buettner Cc: gdb-patches@sourceware.org References: <20250407145443.1895323-1-guinevere@redhat.com> <20250407110851.18e596fd@f41-zbm-amd> From: Guinevere Larsen In-Reply-To: <20250407110851.18e596fd@f41-zbm-amd> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 1xS8l-6YV5YpN4QNokfnUH1NQUWSG8MJCuwxe7SgV18_1744230042 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 4/7/25 3:08 PM, Kevin Buettner wrote: > On Mon, 7 Apr 2025 11:54:40 -0300 > Guinevere Larsen wrote: > >> This series is a second step in improving the User Experience of >> debugging inferiors with multiple namespaces. It adds 2 things to make >> it more convenient for users to understand what the inferior is doing. >> >> The first patch adds convenience variables, specifically _active_namespaces >> and _current_namespaces. These can be used to track where in the execution >> of an inferior the user is, and could be used in breakpoint conditions >> to stop at a specific namespace. >> >> The third patch adds a new command, "info namespaces", to help the user >> check what solibs are loaded, and where. To make the patch more >> readable, the second patch is a minor refactor of the command "info >> sharedlibrary". > I'm wondering if we want "namespaces" to mean "linker namespaces". I > can imagine someone adding a command to iterate over the > DW_TAG_namespace entries in the available DWARF info and then print > things regarding those entries. That too could be a good (possibly > better) candidate for a GDB "info namespaces" command. > > What I'm suggesting here is that we might want to add a qualifier to > the command and related names, i.e. that the new command be named > "info linker-namespaces" instead of just "info namespaces". Likewise, > add qualifiers for _active_namespaces and _current_namespaces. This makes sense. I'm working on this change locally and will send a v2 shortly. > > Kevin > -- Cheers, Guinevere Larsen She/Her/Hers