From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id m1M/F07ldF91dgAAWB0awg (envelope-from ) for ; Wed, 30 Sep 2020 16:06:38 -0400 Received: by simark.ca (Postfix, from userid 112) id 4522E1EF44; Wed, 30 Sep 2020 16:06:38 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.2 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 662891E590 for ; Wed, 30 Sep 2020 16:06:37 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BA4F13972030; Wed, 30 Sep 2020 20:06:36 +0000 (GMT) Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTP id 3EB9A3857C50 for ; Wed, 30 Sep 2020 20:06:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3EB9A3857C50 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 0790D1171F2 for ; Wed, 30 Sep 2020 16:06:05 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KUVPsIQorHVv for ; Wed, 30 Sep 2020 16:06:04 -0400 (EDT) Received: from murgatroyd.Home (97-118-100-18.hlrn.qwest.net [97.118.100.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id C534C116F1D for ; Wed, 30 Sep 2020 16:06:04 -0400 (EDT) From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH 0/9] Fix most -fgnat-encodings=minimal failures Date: Wed, 30 Sep 2020 14:05:51 -0600 Message-Id: <20200930200600.1207702-1-tromey@adacore.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" GNAT has two debuginfo modes -- the default, which is to emit "GNAT encodings", and -fgnat-encodings=minimal, which emits something closer to pure DWARF. Historically gdb has only handled GNAT encodings. This patch series brings gdb most of the way to handling -fgnat-encodings=minimal. The remaining issues are going to require some patches to GNAT and gdb; my plan is to only land the gdb changes once the GNAT changes have gone in. Patches #2 - #9 were all reviewed internally by Joel. However, they aren't all purely Ada-specific. (Patch #1 is new, written while I was prepping this series -- see the comments there.) For gdb itself, the benefit of these changes is that with minimal-encodings, the Ada type system works more like the rest of gdb. For users the main benefit is that the Python API works more nicely. Let me know what you think, Tom