From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77970 invoked by alias); 30 Oct 2016 03:36:06 -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 77946 invoked by uid 89); 30 Oct 2016 03:36:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=follow-up, Hx-languages-length:812, tom@tromey.com, U*tom X-HELO: mail-wm0-f46.google.com Received: from mail-wm0-f46.google.com (HELO mail-wm0-f46.google.com) (74.125.82.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 30 Oct 2016 03:35:54 +0000 Received: by mail-wm0-f46.google.com with SMTP id e69so177722117wmg.0 for ; Sat, 29 Oct 2016 20:35:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xJs2DB+cMmpnDIf+M4ap7wqSOENPcXFadxFt3suLxuQ=; b=eFkDTm1QWA52H3IFqzo+nnuKJNFGbkN/fm2AfYfUw+fvYa+spi4htsfRyJokYFB0bV P1Te+Yo8RZ8DX/M4v6Hp9OV6wS5UjLvqzK39zpq5WXDbgTlh4dX9zK08Xsr0WAZN++47 aYtpFT4CCWcgJzUud8926plQ9vHDk3Izq6jA+YSBvWouzZYDoVH+apjGZjGTV51u8xFE 9XeNfGxOfAf1Sr0PoecLHF9VtztFCY7BkF8R90ViNAwYRclPRyNN+MLL5U5/ZnFpR5+C nWBHJTTL6EFCWMIJ63s4HKR+bXvf104N7h69hLeFWRVrQ+ZP1BnL/IHZX/g1mYPqVYgn UGfg== X-Gm-Message-State: ABUngvfD4W4GA0koBCglls98lXWyJEzC+C/puPQYaM/KuEf9JGH0NeBm6BSksd7HoNrCI1oRv53kAPeNJan0BFfT X-Received: by 10.194.62.178 with SMTP id z18mr19978723wjr.20.1477798552526; Sat, 29 Oct 2016 20:35:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.131.21 with HTTP; Sat, 29 Oct 2016 20:35:32 -0700 (PDT) In-Reply-To: <87d1iiwlvx.fsf@tromey.com> References: <87pomiwo1z.fsf@tromey.com> <87lgx6wntm.fsf@tromey.com> <87d1iiwlvx.fsf@tromey.com> From: Manish Goregaokar Date: Sun, 30 Oct 2016 03:36:00 -0000 Message-ID: Subject: Re: [PATCH] Fix handling of discriminantless univariant enums in Rust To: Tom Tromey Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00847.txt.bz2 Yes, I'm trying it with the followup patch. I kept them separate since that's an independent bug that just affects univariant ones too. Will roll them together. -Manish On Sat, Oct 29, 2016 at 8:34 PM, Tom Tromey wrote: >>>>>> "Manish" == Manish Goregaokar writes: > > Manish> `print univariant.a` works for me. > > I tried this patch and it failed the way I thought it would: > > print univariant.a > Attempting to access named field a of tuple variant simple::Univariant::Foo, which has only anonymous fields > (gdb) FAIL: gdb.rust/simple.exp: print univariant.a > > > Maybe you're trying it with the follow-up patch installed? > In that case I think the patches should probably be combined. > > Tom