From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16338 invoked by alias); 31 Aug 2018 14:53:36 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 16320 invoked by uid 89); 31 Aug 2018 14:53:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=timely X-HELO: gateway24.websitewelcome.com Received: from gateway24.websitewelcome.com (HELO gateway24.websitewelcome.com) (192.185.50.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 31 Aug 2018 14:53:34 +0000 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway24.websitewelcome.com (Postfix) with ESMTP id 6F60136509 for ; Fri, 31 Aug 2018 09:53:33 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id vknIfMHaCbXuJvknafhFzw; Fri, 31 Aug 2018 09:53:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=s8iLT6MSGdRF+CUvQMcCZRxRPM+2/udMHW2+pN5hzak=; b=c5DPJsX1w1ByVS7g7bKeCOXxhK O7L+t7Ic/gzpwKWHGXOb0IIzhnR9oYezJg1LhaSwfKk87GkfbrnzZDZR2lNAdB8b/AkbX64lAF/hX /3AQy48ROaKiDLiTRbrZPkqUT; Received: from 75-166-85-72.hlrn.qwest.net ([75.166.85.72]:60902 helo=pokyo.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fvknI-000DE9-GU for gdb-patches@sourceware.org; Fri, 31 Aug 2018 09:53:04 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH 8.2+trunk 0/2] two small rust fixes Date: Fri, 31 Aug 2018 14:53:00 -0000 Message-Id: <20180831145302.14493-1-tom@tromey.com> X-SW-Source: 2018-08/txt/msg00858.txt.bz2 Hi. This series fixes a couple of small bugs I noticed while testing gdb against a version of the Rust compiler that emits DW_TAG_variant_part. See https://github.com/rust-lang/rust/issues/32920 for details of that. While doing this I found a couple of bugs. I'd like to put these on the 8.2 branch, because all the DW_TAG_variant_part stuff was slated for 8.2 and this gdb release is timely considering when the Rust compiler patch will land. The first patch is obvious and just a test case thinko. The second patch changes how DW_TAG_variant_part is handled in the DWARF reader. I think this is reasonably safe as it is clearly targeted at just this tag, which currently is only really supported for Rust (Gnat can emit DW_TAG_variant_part with a special flag but this is not common and the gdb Ada support for this has not been implemented). Let me know what you think. Tom