From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13119 invoked by alias); 14 Nov 2003 23:17:40 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13111 invoked from network); 14 Nov 2003 23:17:39 -0000 Received: from unknown (HELO nick.uklinux.net) (194.247.49.97) by sources.redhat.com with SMTP; 14 Nov 2003 23:17:39 -0000 Received: by nick.uklinux.net (Postfix, from userid 501) id 28F5775FDE; Fri, 14 Nov 2003 23:10:27 +0000 (GMT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16309.24802.603915.401713@nick.uklinux.net> Date: Fri, 14 Nov 2003 23:17:00 -0000 To: Jason Molenda Cc: gdb@sources.redhat.com Subject: Re: MI command -stack-list-locals In-Reply-To: <291E7712-1638-11D8-AA48-000393D457E2@apple.com> References: <16298.50534.258926.575817@nick.uklinux.net> <291E7712-1638-11D8-AA48-000393D457E2@apple.com> X-SW-Source: 2003-11/txt/msg00116.txt.bz2 > We've added a "2" version of -stack-list-locals which prints out a lot > more information, as well as automatically creates varobj's for all of > the local variables. Do these variable objects get deleted and replaced with a new set every time the current frame changes? Does that not slow down the user interface? > On the above example, we output > > -stack-list-locals 2 > > ^done,locals=[ > > varobj={exp="i",value="5",name="var1",numchild="0",type="int",typecode=" > INT",dynamic_type="",in_scope="true",block_start_addr="0x00001dd0",block > _end_addr="0x00001e04"}, > ... I suspect that I could use this approach for Emacs and I certainly don't want to try do things that others have already done. At some stage, will Apple put these changes into the RedHat CVS repository for FSF gdb? Thanks for the info. Nick