From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98125 invoked by alias); 26 Apr 2015 19:44: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 98103 invoked by uid 89); 26 Apr 2015 19:44:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No 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; Sun, 26 Apr 2015 19:44:51 +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 78A388F2FF; Sun, 26 Apr 2015 19:44:50 +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 t3QJinPZ010163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA256 bits=256 verify=NO); Sun, 26 Apr 2015 15:44:50 -0400 From: Sergio Durigan Junior To: Pedro Alves Cc: Doug Evans , Yao Qi , gdb-patches Subject: Re: [RFC] Unset tcl variable addr to avoid clashing References: <1428666671-12926-1-git-send-email-qiyaoltc@gmail.com> <87r3rqppgq.fsf@redhat.com> <552B7DA3.5070103@redhat.com> <87r3rmjzi5.fsf@redhat.com> X-URL: http://blog.sergiodj.net Date: Sun, 26 Apr 2015 19:44:00 -0000 In-Reply-To: <87r3rmjzi5.fsf@redhat.com> (Sergio Durigan Junior's message of "Tue, 14 Apr 2015 15:12:02 -0400") Message-ID: <87oama7jyo.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-04/txt/msg00979.txt.bz2 On Tuesday, April 14 2015, I wrote: > What do you think of the following patch (obvious, but I decided to send > anyway)? This is just to make things 100% correct, and I don't think > it's worth reverting the renaming. FWIW, I've checked the patch in. > I will also expand/fix the update I did in the wiki page. And I've also updated the wiki. > Thanks, > > -- > Sergio > GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 > Please send encrypted e-mail if possible > http://sergiodj.net/ > > gdb/testsuite/ChangeLog: > 2015-04-14 Sergio Durigan Junior > > * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr" > before using it. > > diff --git a/gdb/testsuite/gdb.base/coredump-filter.exp b/gdb/testsuite/gdb.base/coredump-filter.exp > index f872de0..72f756a 100644 > --- a/gdb/testsuite/gdb.base/coredump-filter.exp > +++ b/gdb/testsuite/gdb.base/coredump-filter.exp > @@ -170,6 +170,7 @@ gdb_test_multiple "print/x &main" "getting main's address" { > > # Obtain the address of each variable that will be checked on each > # case. > +set coredump_var_addr "" > foreach item $all_anon_corefiles { > foreach name [list [lindex $item 3] [lindex $item 4]] { > set test "print/x $name" -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/