From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67139 invoked by alias); 8 May 2015 17:23:56 -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 67129 invoked by uid 89); 8 May 2015 17:23:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 08 May 2015 17:23:54 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 4F3B28EA4A; Fri, 8 May 2015 17:23:53 +0000 (UTC) Received: from localhost (unused-10-15-17-126.yyz.redhat.com [10.15.17.126]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t48HNqS4006105 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA256 bits=256 verify=NO); Fri, 8 May 2015 13:23:53 -0400 From: Sergio Durigan Junior To: Yao Qi Cc: Luis Machado , Pedro Alves , Subject: Re: [PATCH] Fix coredump-filter.exp by correctly unsetting array References: <1429889336-12277-1-git-send-email-qiyaoltc@gmail.com> <554A3D61.8090302@redhat.com> <554A44B9.3090503@codesourcery.com> <86sib8vjtv.fsf@gmail.com> <554B4223.1000003@codesourcery.com> <554B702F.5090006@codesourcery.com> <87mw1g1fp2.fsf_-_@redhat.com> <86pp6bth7p.fsf@gmail.com> X-URL: http://blog.sergiodj.net Date: Fri, 08 May 2015 17:23:00 -0000 In-Reply-To: <86pp6bth7p.fsf@gmail.com> (Yao Qi's message of "Fri, 08 May 2015 12:57:14 +0100") Message-ID: <87k2wjyod6.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00211.txt.bz2 On Friday, May 08 2015, Yao Qi wrote: > Sergio Durigan Junior writes: > >> It seems it is not possible to "clear" the variable using "" and then >> use as an array. I think the best way would be to call 'unset >> -nocomplain' in this case. The following patch does this. With it >> applied, the test fully passes on Fedora 20 x86_64 native. >> >> WDYT? > > Your patch is fine by me. Thanks, pushed. f7797074a5dc314f8922d2e90c1a4ea04b189c36 -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/