From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78196 invoked by alias); 8 May 2015 11:57:25 -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 78187 invoked by uid 89); 8 May 2015 11:57:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f182.google.com Received: from mail-pd0-f182.google.com (HELO mail-pd0-f182.google.com) (209.85.192.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 08 May 2015 11:57:24 +0000 Received: by pdbqa5 with SMTP id qa5so78036715pdb.1 for ; Fri, 08 May 2015 04:57:22 -0700 (PDT) X-Received: by 10.70.130.198 with SMTP id og6mr5785588pdb.153.1431086239800; Fri, 08 May 2015 04:57:19 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id j10sm5037444pdk.48.2015.05.08.04.57.17 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 08 May 2015 04:57:19 -0700 (PDT) From: Yao Qi To: Sergio Durigan Junior Cc: Luis Machado , Yao Qi , 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> Date: Fri, 08 May 2015 11:57:00 -0000 In-Reply-To: <87mw1g1fp2.fsf_-_@redhat.com> (Sergio Durigan Junior's message of "Thu, 07 May 2015 13:05:13 -0400") Message-ID: <86pp6bth7p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00186.txt.bz2 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. --=20 Yao (=E9=BD=90=E5=B0=A7)