From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10040 invoked by alias); 4 Oct 2002 19:26:39 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10033 invoked from network); 4 Oct 2002 19:26:38 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 4 Oct 2002 19:26:38 -0000 Received: from redhat.com (toocool.toronto.redhat.com [172.16.14.72]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 9DFEB8000E6; Fri, 4 Oct 2002 15:26:37 -0400 (EDT) Message-ID: <3D9DEB6D.3EA50DFF@redhat.com> Date: Fri, 04 Oct 2002 12:26:00 -0000 From: "J. Johnston" Organization: Red Hat Inc. X-Accept-Language: en MIME-Version: 1.0 To: Keith Seitz Cc: gdb-patches@sources.redhat.com, alain@qnx.com Subject: Re: Patch for gdb/mi problem 702 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-10/txt/msg00134.txt.bz2 Keith Seitz wrote: > > On Fri, 4 Oct 2002, J. Johnston wrote: > > > Some of these output variables are aliases of one another > > (e.g. *p which points to a[5] which is also being shown). The application > > kicks off a separate input field operation that changes the value of a[5]. > > Now, the application knows it changed a[5], but doesn't necessarily know about > > the current alias to *p. > > You'll also get a target_changed event. This will cause the UI to run > -var-update, which will show that the "aliased" object's value has > changed. This already works in insight. > > Keith Yes, but the UI won't see the original value that got changed. So, if you are going to get the cost of a -var-update anyway, why not add the value that just got changed and thereby make the code simpler? Otherwise, the setter of the value must go and cause a refresh of the changed value in addition to the normal code that will trigger due to a target_changed event. Am I missing something here? -- Jeff J.