From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28899 invoked by alias); 24 Jul 2011 19:32:23 -0000 Received: (qmail 28891 invoked by uid 22791); 24 Jul 2011 19:32:23 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 24 Jul 2011 19:32:05 +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 (8.14.4/8.14.4) with ESMTP id p6OJW5al027342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 24 Jul 2011 15:32:05 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p6OJW2fc011685 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 24 Jul 2011 15:32:04 -0400 Message-ID: <4E2C7332.2090502@redhat.com> Date: Sun, 24 Jul 2011 19:32:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc15 Lightning/1.0b3pre Thunderbird/3.1.11 MIME-Version: 1.0 To: Gene Smith CC: insight@sources.redhat.com Subject: Re: Two small insight (gdb?) bugs References: <4E2C6863.6020405@redhat.com> In-Reply-To: <4E2C6863.6020405@redhat.com> Content-Type: multipart/mixed; boundary="------------060102080608090404000902" X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2011-q3/txt/msg00003.txt.bz2 This is a multi-part message in MIME format. --------------060102080608090404000902 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 312 On 07/24/2011 11:45 AM, Keith Seitz wrote: > This is happening because the varobjs are left in an unknown state, with > stale pointers to memory. I will work on a fix for this, but this > doesn't sound like your problem... Ha, well, the patch is trivial. Give this a try and see if that helps at all... Keith --------------060102080608090404000902 Content-Type: text/plain; name="clear-watchlist.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="clear-watchlist.patch" Content-length: 711 Index: watch.tcl =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/watch.tcl,v retrieving revision 1.11 diff -u -p -r1.11 watch.tcl --- watch.tcl 1 Dec 2006 03:34:39 -0000 1.11 +++ watch.tcl 24 Jul 2011 19:28:45 -0000 @@ -1,5 +1,5 @@ # Watch window for Insight. -# Copyright (C) 2002, 2003, 2006 Red Hat +# Copyright (C) 2002, 2003, 2006, 2011 Red Hat # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License (GPL) as published by @@ -62,6 +62,7 @@ itcl::class WatchWin { foreach var $Watched { $var delete } + set Watched {} $tree remove all } --------------060102080608090404000902--