From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 1gtXB5eO4Wc4lRkAWB0awg (envelope-from ) for ; Mon, 24 Mar 2025 12:55:51 -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=QcdM+82b; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 0D8931E100; Mon, 24 Mar 2025 12:55:51 -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,HTML_MESSAGE, 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 8ACAA1E0C0 for ; Mon, 24 Mar 2025 12:55:50 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1B05D385840C for ; Mon, 24 Mar 2025 16:55:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B05D385840C 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=QcdM+82b 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 0D8FB3858C51 for ; Mon, 24 Mar 2025 15:45:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0D8FB3858C51 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 0D8FB3858C51 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=1742831131; cv=none; b=ICfgwjbA5x+lj0/A6Qrltx1AAVhr/Ng1VklCp5alybmumMps9wg5IEtmrH4UhkycVKCP50cN2S3J8nJYwvUtb/4JmH3a8azSVkFHxlwWb+CYtJGzuWpJQGt1C25iVrr1cJqzgogclPtlOWZqgw/4diuS7XkohZEjx7VahtP16UQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1742831131; c=relaxed/simple; bh=1i+y1N7pBllEYYiWvicBdV1Tx53/rGrz2Ue3Nzl4A4g=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=ToGmjl6yqKVikIwdzkrJ0DAUzqSXA3uKCA1zK3ML0KS+EW+yBJqsZXOpiD/xUSMnbQRtSiSsMSnJLlm4+xLkTUQje2impthJ58qe1aQBmTNM9iSAiOt/bfMg74nYyA7N5WjhIkphAJMB/I+NskN/0eS8reEb+WPZ4qO3XjFnE6o= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D8FB3858C51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1742831130; 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: in-reply-to:in-reply-to:references:references; bh=suD5ZsVtiQE4PwpaSS91dybulgxV+dQqKpn5TEhFb8Q=; b=QcdM+82bNWhEvtfwSeK/oxtim3b8CkakOxP6mK5/0MacVcyGATOtNjmucThAW7xvQHqzZI Hsi1NwCmmBfskcUX3rLBU9ofMlhRnj3coS3SFFGmBdKyqbeaykq7bDVFlkJPtYDFkt85kn WZJCIffQUYNxWAje9g742AF8Dk8Yofk= Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-465-cPZCNB_APvW1cfRq-hLtvw-1; Mon, 24 Mar 2025 11:45:29 -0400 X-MC-Unique: cPZCNB_APvW1cfRq-hLtvw-1 X-Mimecast-MFC-AGG-ID: cPZCNB_APvW1cfRq-hLtvw_1742831128 Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-2ff798e8c90so7081779a91.1 for ; Mon, 24 Mar 2025 08:45:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742831128; x=1743435928; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=suD5ZsVtiQE4PwpaSS91dybulgxV+dQqKpn5TEhFb8Q=; b=UgQryvntailhO9MSGHAR3ogo38x8aHUA2jEUcoZoUnxDgdVqTLXARkPF31hKkgB9i/ N6Wvi/fS1IqH4vrYldh0h0nQAbj+bd8d5v3R7t1zK3d8treXo4zHAF9irUPA20w0C4tf QONUxTBqw49qkn5wvF+h++gWb0mNVZ3uOe6J30gjRfIIRXR3Ol3uVJSpY2mqsI1Q/iik nnHBmx4iSoUfECyMmFjHFXT0nm1p2VxMzNWkV/LP7Zy8P62JmM2zMtve0kXiuk/DcSgZ G7uxKJc4eYgW04JlRd2yb7atY5KNG/9Yp0uigJclJfBFFKA5m/cRejN6Zq0Xu6fcLI9q F6mw== X-Gm-Message-State: AOJu0YwCeNXdZpwQG26b3iZB5X0uSb7d8DLvRNGYQmnAje9N6/zMTWbk 7izT7LApJ43fQ+tDLi6B/0rmliNV4MZQXjAqauqgfMorIu4u2WXBPHTqA6Jo8gQOH7skNcDLrzR VVHvye9RIIddlx9nzKAJ7irf/vbNPBh2PEIp69ZMGx9PfmQDoi1qcktZQ2uxo5w8mWE6DqYui2q CDz/tE8iyCAJ3/mz+CwJMztVyh1cvjW9zh1g== X-Gm-Gg: ASbGnctij8sepuO/iUwG0n9Bhu9n/sC4+kDqEc0wEGL8aXlr2NHs/91clFLP2clFXrz XujRM6ld8575hq7BZs+9KsRs2mUGvy00tzf8mmryvg6H57C+eOcaNrMltgG2gWQKDkQgVbKEjhv M= X-Received: by 2002:a17:90b:5408:b0:2ff:6fc3:79c4 with SMTP id 98e67ed59e1d1-3030ff10972mr18096494a91.27.1742831127673; Mon, 24 Mar 2025 08:45:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFOLoSvczyYYURgCjA3l3Oz8Yi7LHB8vMk91zIfN63Mgxj7ufQbE8EAVO/9GWonretLPLsIQJegHHzRBcP4Hxk= X-Received: by 2002:a17:90b:5408:b0:2ff:6fc3:79c4 with SMTP id 98e67ed59e1d1-3030ff10972mr18096448a91.27.1742831127164; Mon, 24 Mar 2025 08:45:27 -0700 (PDT) MIME-Version: 1.0 References: <20250323-dwz-dwarf-5-v2-v1-0-3c0775ca5514@tromey.com> <20250323-dwz-dwarf-5-v2-v1-2-3c0775ca5514@tromey.com> In-Reply-To: <20250323-dwz-dwarf-5-v2-v1-2-3c0775ca5514@tromey.com> From: Alexandra Petlanova Hajkova Date: Mon, 24 Mar 2025 16:45:15 +0100 X-Gm-Features: AQ5f1Jqzi7A73nhBpzgrzRvxra65m1sygp__Xcg4hvBtwlmq5Z-3i2NFxTZHqFk Message-ID: Subject: Re: [PATCH 2/3] Handle DWARF 5 separate debug sections To: Tom Tromey Cc: gdb-patches@sourceware.org X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 5ThM4MUeb_QMsRI0-2zM0d7d0HBDuGvPti_Dj24G_4o_1742831128 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="0000000000003d11ef0631187e0c" 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 --0000000000003d11ef0631187e0c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Mar 23, 2025 at 8:23=E2=80=AFPM Tom Tromey wrote: > DWARF 5 standardized the .gnu_debugaltlink section that dwz emits in > multi-file mode. This is handled via some new forms, and a new > .debug_sup section. > > This patch adds support for this to gdb. It is largely > straightforward, I think, though one oddity is that I chose not to > have this code search the system build-id directories for the > supplementary file. My feeling was that, while it makes sense for a > distro to unify the build-id concept with the hash stored in the > .debug_sup section, there's no intrinsic need to do so. > > This in turn means that a few tests -- for example those that test the > index cache -- will not work in this mode. > > Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D32808 > > Hi Tom, I tested this on aarch64, Fedora 40 and this change causes gdb.base/bp-cmds-continue-ctrl-c.exp to fail. I can provide you with the logs if you are interested. --0000000000003d11ef0631187e0c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Mar 23,= 2025 at 8:23=E2=80=AFPM Tom Tromey <t= om@tromey.com> wrote:
DWARF 5 standardized the .gnu_debugaltlink section that dwz em= its in
multi-file mode.=C2=A0 This is handled via some new forms, and a new
.debug_sup section.

This patch adds support for this to gdb.=C2=A0 It is largely
straightforward, I think, though one oddity is that I chose not to
have this code search the system build-id directories for the
supplementary file.=C2=A0 My feeling was that, while it makes sense for a distro to unify the build-id concept with the hash stored in the
.debug_sup section, there's no intrinsic need to do so.

This in turn means that a few tests -- for example those that test the
index cache -- will not work in this mode.

Bug: https://sourceware.org/bugzilla/show_bug= .cgi?id=3D32808


Hi Tom,

I tested this on aarch64, Fedora 4= 0 and=C2=A0 this change causes gdb.base/bp-cmds-continue-ctrl-c.exp
<= div>to fail. I can provide you with the logs if you are interested.


--0000000000003d11ef0631187e0c--