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: Yao Qi <qiyaoltc at gmail dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: Luis Machado <lgustavo at codesourcery dot com>, Yao Qi <qiyaoltc at gmail dot com>, Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Fri, 08 May 2015 12:57:14 +0100
- 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>
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.
--
Yao (éå)