From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id rssoFuDgCGh8awEAWB0awg (envelope-from ) for ; Wed, 23 Apr 2025 08:45:20 -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=dI4fqWKv; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 449FE1E0C3; Wed, 23 Apr 2025 08:45:20 -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 972FD1E0C0 for ; Wed, 23 Apr 2025 08:45:19 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 286BB3857839 for ; Wed, 23 Apr 2025 12:45:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 286BB3857839 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=dI4fqWKv Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id A10043857C7F for ; Wed, 23 Apr 2025 12:44:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A10043857C7F 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 A10043857C7F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745412273; cv=none; b=hYRquWjrmaZuMxsRZ3cagI00Qi9FjQxUSSgEJhe81eucvyK1+c1UVHWGE0Rnana4oudXLjvgayBAX2cUzQcGr6yGqJyq/U2XBs2aOTUKptaHIS046B22OvCovbTP0JxeejrPC5AW4CAILhfb081s+7LyWRdDC9VIlXaNHfsxylQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745412273; c=relaxed/simple; bh=x4mn6clV/xqx8V7rs9TXUA1tgmSpI4ibVpjn6HiM+Wc=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=GBTvMd1QwwtATbHJ9CJqu+IcLFs+M0aFjkVQMbGDcz4bYYappNHWmc1bMD+issOxuxE/FXFBmhK+YfKFeSuAi7ad8+BduMO8HWTUk/oPYO+49T0Ej/1WBZhfpgtbhUbZ5xlB8uszzBQAJVZj73tQ9E7TXTTT5SQAiHZsjiAw0qA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A10043857C7F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1745412273; 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=TkIFJtKnojIDBnblZ7hJGeu3n+MjLqggyrPaYMbavok=; b=dI4fqWKvbhXtYuVCkai5FaMg/K/Ys3a2g5Iwa2KPD4/zoIHiZFp4dJWIyUgC2HTPsRroHD xQpbzav0GA0CU6TrFVcGd1LmCQWXL4g1CyRUiLqdZM4no7j1hf/3OKqpcLheFQffTJrY0s AMkdaZXOamEGFGyNusPqObD10NUfW/w= Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-80-KOFshyWyPvShCo-fyigEIw-1; Wed, 23 Apr 2025 08:44:31 -0400 X-MC-Unique: KOFshyWyPvShCo-fyigEIw-1 X-Mimecast-MFC-AGG-ID: KOFshyWyPvShCo-fyigEIw_1745412270 Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-af59547f55bso3472181a12.0 for ; Wed, 23 Apr 2025 05:44:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745412270; x=1746017070; 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=TkIFJtKnojIDBnblZ7hJGeu3n+MjLqggyrPaYMbavok=; b=Nndw+uadLlQbVJqYMAx07I0R9WDIJv3CzXqekYPTsk8bfHdEsD9y+t/qrn7WZgVHGA B7OZyd/cYSTvqRm2G4cZxo/J3rpPJJ7DvYrCtUKwiHKMlZdZ6HjwlGOfnVRVMpN6a1r3 V3KfMkC3Qz1XJiKU2KpOh6Dwduz4uk0UZMy2tZx+In0GaQifE+FO1cCDyaYuPjSOOqmZ XHmhg1wrpfmNFSBLHzY+T3M9YdJLuOAVA4/ZdhuzeV7f7ybzl6WNK5+8xnREa1JVqTke menHMnVfgsXzdaVl0T0gd/GV7U5q+IfTPGrWlH1qeHLmC0o6uO5k6stz++WW5EZ2dQCo LPhQ== X-Gm-Message-State: AOJu0YysQ76MFWpYAJ11QOaYMH8FyVKge7WIYhQrAaKEdJdh9Vu5rZ1r cLYZ7vPzr1JOtEUGd2daLT0pqPwiPtikbTouJRqpbyLkz5xtNqA66tCk05S4crly6T++LAhLyiw NLLCZQxscL+kacJKrcJEj5K9RLXLtUu+ZQFkhjVccGTX2851N0JaQDkCwwhQ= X-Gm-Gg: ASbGnct4tXL4t4tu7LKspGjr15lqTu/+CtObxynk5tpmT5hvZpafDI+QUp8BbUfKcge 4D8hFbL8Z2gZ4Sav6ZhFd6nz9LrLnF1E1DVNX6mNiQFi4nuhISRkiahvKgLuAb+82GR9F2Gip9q q4msFBNQHNgAM+CYfr60kO3cpQcNjIQctLdGiH8Xiy3Uk3haY/88D3qhJI+ei7GaQb/AIs9bGcN gPdDsTmjuFMTcvef/8bocS6OK0NyBdTdIkt/dZFVoGQHug4QRbOgG8zoV1tIOdgaiqZIP6ALaBC f4KX1wqRe0B3MPwC2ciDxMo= X-Received: by 2002:a05:6a20:d485:b0:1f0:e42e:fb1d with SMTP id adf61e73a8af0-203cbd4513fmr31254896637.36.1745412269990; Wed, 23 Apr 2025 05:44:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHj6JDiQwDMSFWqYaOhfgXCkFx7G/6bp9UauaqqHE2bzl60Xs81f6SZRX2B6lAlzR4kezWL6g== X-Received: by 2002:a05:6a20:d485:b0:1f0:e42e:fb1d with SMTP id adf61e73a8af0-203cbd4513fmr31254864637.36.1745412269657; Wed, 23 Apr 2025 05:44:29 -0700 (PDT) Received: from ?IPV6:2804:14d:8084:9a69::1002? ([2804:14d:8084:9a69::1002]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-b15361f3b22sm321892a12.53.2025.04.23.05.44.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Apr 2025 05:44:29 -0700 (PDT) Message-ID: Date: Wed, 23 Apr 2025 09:44:26 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/3] Add some linker namespaces conveniences To: Kevin Buettner Cc: gdb-patches@sourceware.org References: <20250411175022.2379494-1-guinevere@redhat.com> <20250417164344.2d2b55ad@f41-zbm-amd> From: Guinevere Larsen In-Reply-To: <20250417164344.2d2b55ad@f41-zbm-amd> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: coJazcDpIp7u5x0iP9hPfyA_AHKrrBRe7fKrngptj4E_1745412270 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/17/25 8:43 PM, Kevin Buettner wrote: > On Fri, 11 Apr 2025 14:50:19 -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_linker_namespaces and _current_linker_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 linker-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". >> >> The documentation changes have already been reviewed by Eli. >> >> Changes for v3: >> * Changed the final gdb.base/dlmopen-ns-ids.exp test to allow for linker >> namespaces that don't load libc and libm, since some systems may not >> do it. >> >> Changes for v2: >> * Renamed new command and variables to explicitly mention linker >> namespaces >> >> Guinevere Larsen (3): >> gdb: add convenience variables around linker namespace debugging >> gdb: factor out printing a table of solibs for info sharedlibrary >> GDB: Introduce "info namespaces" command >> >> gdb/NEWS | 11 + >> gdb/doc/gdb.texinfo | 28 ++ >> gdb/solib-svr4.c | 55 ++++ >> gdb/solib.c | 267 ++++++++++++++----- >> gdb/solist.h | 4 + >> gdb/testsuite/gdb.base/default.exp | 2 + >> gdb/testsuite/gdb.base/dlmopen-ns-ids-main.c | 6 + >> gdb/testsuite/gdb.base/dlmopen-ns-ids.exp | 129 +++++++++ >> 8 files changed, 442 insertions(+), 60 deletions(-) > I'm still comfortable with the approvals that I provided earlier for > the v2 series. > > Approved-by: Kevin Buettner > I pushed this patch. There was some conversation on IRC about details, but since Simon said he didn't have the time to review in depth, and didn't show interest in me delaying pushing, I figured I could push it. And anyway, in my opinion, as long as we haven't branched for GDB 17 yet, I think we should be ok with changing those details, so if the changes are requested, I think a future patch could change with little overhead (for now). -- Cheers, Guinevere Larsen She/Her/Hers