From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 6oIXLRijy2BPMgAAWB0awg (envelope-from ) for ; Thu, 17 Jun 2021 15:31:36 -0400 Received: by simark.ca (Postfix, from userid 112) id A9AE91F163; Thu, 17 Jun 2021 15:31:36 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=MAILING_LIST_MULTI, RDNS_DYNAMIC autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.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 050631E54D for ; Thu, 17 Jun 2021 15:31:36 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 873CD398B885 for ; Thu, 17 Jun 2021 19:31:35 +0000 (GMT) Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTPS id CB6593987C32 for ; Thu, 17 Jun 2021 19:12:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CB6593987C32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 92130116899 for ; Thu, 17 Jun 2021 15:12:31 -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 dRoBEqjTqFuD for ; Thu, 17 Jun 2021 15:12:31 -0400 (EDT) Received: from murgatroyd.Home (97-122-70-83.hlrn.qwest.net [97.122.70.83]) (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 52966116894 for ; Thu, 17 Jun 2021 15:12:31 -0400 (EDT) From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH 0/2] Change Ada type names reported by Python Date: Thu, 17 Jun 2021 13:12:28 -0600 Message-Id: <20210617191230.71887-1-tromey@adacore.com> X-Mailer: git-send-email 2.26.3 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+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" This series changes the Python code to report the "decoded" (aka "demangled") Ada type names. This is arguably more correct, as the encoded names are compiler-synthesized and surprising to users; also it is less fragile, because the type names are generally changing anyway as we move the compiler to "minimal encodings". This is split in 2 parts because originally the first patch came from my psymtab scanner rewrite; however, we realized in review that that series will actually require a second parameter to ada_decode. At that point, though, it was more convenient to keep the patches separate. Tested on x86-64 Fedora 32. Tom