public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Gene Smith <gds@chartertn.net>
Cc: insight@sources.redhat.com
Subject: Re: Two small insight (gdb?) bugs
Date: Sun, 24 Jul 2011 19:32:00 -0000	[thread overview]
Message-ID: <4E2C7332.2090502@redhat.com> (raw)
In-Reply-To: <4E2C6863.6020405@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

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

[-- Attachment #2: clear-watchlist.patch --]
[-- Type: text/plain, Size: 711 bytes --]

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
   }
   

  reply	other threads:[~2011-07-24 19:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13  4:32 Gene Smith
2011-07-24 18:46 ` Keith Seitz
2011-07-24 19:32   ` Keith Seitz [this message]
2011-07-25  3:36   ` Gene Smith
2011-08-01 22:32     ` Keith Seitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E2C7332.2090502@redhat.com \
    --to=keiths@redhat.com \
    --cc=gds@chartertn.net \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).