This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix coredump-filter.exp by correctly unsetting array
- From: Sergio Durigan Junior <sergiodj at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: Luis Machado <lgustavo at codesourcery dot com>, Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Fri, 08 May 2015 13:23:49 -0400
- Subject: Re: [PATCH] Fix coredump-filter.exp by correctly unsetting array
- Authentication-results: sourceware.org; auth=none
- References: <1429889336-12277-1-git-send-email-qiyaoltc at gmail dot com> <554A3D61 dot 8090302 at redhat dot com> <554A44B9 dot 3090503 at codesourcery dot com> <86sib8vjtv dot fsf at gmail dot com> <554B4223 dot 1000003 at codesourcery dot com> <554B702F dot 5090006 at codesourcery dot com> <87mw1g1fp2 dot fsf_-_ at redhat dot com> <86pp6bth7p dot fsf at gmail dot com>
On Friday, May 08 2015, Yao Qi wrote:
> Sergio Durigan Junior <sergiodj@redhat.com> 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.
<https://sourceware.org/ml/gdb-cvs/2015-05/msg00031.html>
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/