From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8457 invoked by alias); 11 Dec 2006 21:50:21 -0000 Received: (qmail 8447 invoked by uid 22791); 11 Dec 2006 21:50:21 -0000 X-Spam-Check-By: sourceware.org Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 11 Dec 2006 21:50:15 +0000 Received: from kahikatea.snap.net.nz (p202-124-125-152.snap.net.nz [202.124.125.152]) by viper.snap.net.nz (Postfix) with ESMTP id 6ADF93DA933; Tue, 12 Dec 2006 10:51:28 +1300 (NZDT) Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id EAC08BE431; Tue, 12 Dec 2006 10:45:50 +1300 (NZDT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17789.53644.542392.666846@kahikatea.snap.net.nz> Date: Mon, 11 Dec 2006 21:50:00 -0000 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: memory address ranges (-var-create) In-Reply-To: <20061211023136.GA11647@nevyn.them.org> References: <17788.28864.16294.719219@kahikatea.snap.net.nz> <20061210205314.GA2660@nevyn.them.org> <17788.33737.735764.296688@kahikatea.snap.net.nz> <20061211023136.GA11647@nevyn.them.org> X-Mailer: VM 7.19 under Emacs 22.0.91.16 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00089.txt.bz2 > > Insight seems to work even if you increase the length of the string with > > realloc. Could it handle this case too? > > I have no idea; I don't know how the Insight bits work/worked. Sorry. Presumably varobj_update could use strcmp somehow, instead of memcmp via value_contents_equal, with the variable objects of strings. Perhaps Insight does something like this, although clearly not withing varobj.c (in the Tcl code?). -- Nick http://www.inet.net.nz/~nickrob