From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 1ZN7Osir0WeqWA0AWB0awg (envelope-from ) for ; Wed, 12 Mar 2025 11:44:08 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=SBPQ10DT; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id E11281E105; Wed, 12 Mar 2025 11:44:08 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) 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.0 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 39FB11E08E for ; Wed, 12 Mar 2025 11:44:07 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D837A385840D for ; Wed, 12 Mar 2025 15:44:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D837A385840D Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=SBPQ10DT Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id B4E033858405 for ; Wed, 12 Mar 2025 15:43:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B4E033858405 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B4E033858405 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1741794217; cv=none; b=s7s5MlV08kdqaKjHUs9K2xZJz6H+IE8wgg2ce4P6yzL5CZC6a665QHL8MzK2TEma9zC5xFCB5vrUpDq/EtfEMUoOTMx1EEzqJvnZjYoGrb+Y26VDeJbpHpKtlS4n8hAhwX+6RMrxtKfWj4KD9dMRQpwIIUk1ejzw9cYfp/6yf2Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1741794217; c=relaxed/simple; bh=LZLiuS3pyxrqh8ztVGw7n26DqFzKgrzJIxe8CiJJaBw=; h=DKIM-Signature:Date:Message-Id:From:To:Subject; b=R/nFo76QxMSrj8aIIbir2ut9E+JjfUuuowBKCtQpdAcH9WDe/bM0vq0iUKhLZ8f0mwN+gElV6tZ+JFMhiCFki0H/dUo0ToJiNoecdGCgbfODjjcUV29g2yWqOs9f3kB9vAHRq2yLQp0UlqZoxny43xxPG44L7H+U5g4Lf65+gAE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B4E033858405 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tsOF4-0004G3-O1; Wed, 12 Mar 2025 11:43:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=25dqZshnOZuedNrg+OLMk+vdHMPB26PoBKiXqC0FbFc=; b=SBPQ10DTdnGd ZXJkyw8N6ANdl0VbDx75CxgceH13NFDzm6esfvXBNThTanP+8cFxug+pn+gh6ookEX5wW3Np0nVmt 5F5hxgqiWjZrI911dN6cQU2MCYSvBnD9Q7arjNG2Pa2Y5SmdFxC/l2mQPzrTZdnG3Awdx+EJT1mYx lhILyOND4xJYR3fBEnqX9X8ho8+V2VI4DscL+6BO8oQ6U9fhhcqilJv+9q7QgN9dd8bpLB8gKQcWD b/8XtdRivJP6vX8E9NYYBLxMq8F5tT3Be0ZQ4zK4Aoj6NuCuyg/T6VeL5nlK/iexlbSVLqc0/aVsv 4uxNpfUVqHSV91xzKLzB8w==; Date: Wed, 12 Mar 2025 17:43:31 +0200 Message-Id: <86zfhq45lo.fsf@gnu.org> From: Eli Zaretskii To: dominikmascherbauer Cc: gdb-patches@sourceware.org In-Reply-To: <926f5f9ee52488362639ba9eb8eda9f9b97cce85.1741792976.git.dominik.mascherbauer@oracle.com> (message from dominikmascherbauer on Wed, 12 Mar 2025 16:37:06 +0100) Subject: Re: [PATCH v2 1/3] Add new commands for controlling type signature fallback. References: <926f5f9ee52488362639ba9eb8eda9f9b97cce85.1741792976.git.dominik.mascherbauer@oracle.com> 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 > From: dominikmascherbauer > Cc: dominikmascherbauer > Date: Wed, 12 Mar 2025 16:37:06 +0100 > > 'set dwarf-type-signature-fallback (off|main|full)': > Enable type signature fallback. > If a type signature is not found in the current objfile, either looks up the 'main' objfile or all objfiles in a progspace to find the type signature. > Usually a type signature is unique, ther should only be one type unit for each type signature. > Therefore, it should be okay to check other objfile for a type signature. > However, whether this is really the case depends on the debug info producer. > This is why its disabled by default. > > 'set dwarf-type-signature-fallback-jit': > Whether the type signature fallback is enabled for only JIT objfiles. > JIT objfiles are self-contained, but usually share most debug info with some already loaded objfile. > This is why JIT objfiles are a major use case for the type signature fallback. > This option is added to restrict the type signature fallback to match this exact use-case and provides a more granular use of the type signature fallback. > --- > gdb/NEWS | 21 ++++++++++++++ > gdb/doc/gdb.texinfo | 34 ++++++++++++++++++++++ > gdb/dwarf2/read.c | 71 +++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 126 insertions(+) Thanks, the documentation parts are okay. Reviewed-By: Eli Zaretskii