From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10387 invoked by alias); 12 Jul 2004 17:51:51 -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 10340 invoked from network); 12 Jul 2004 17:51:50 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sourceware.org with SMTP; 12 Jul 2004 17:51:50 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3/8.9.3) with ESMTP id NAA22955 for ; Mon, 12 Jul 2004 13:11:12 -0400 Received: (from alain@localhost) by smtp.ott.qnx.com (8.8.8/8.6.12) with UUCP id NAA16681 for gdb@sources.redhat.com; Mon, 12 Jul 2004 13:51:49 -0400 Message-Id: <200407121751.NAA16681@smtp.ott.qnx.com> Subject: Re: How does GDB/MI give the current frame To: nickrob@gnu.org (Nick Roberts) Date: Mon, 12 Jul 2004 18:30:00 -0000 From: "Alain Magloire" Cc: alain@qnx.com (Alain Magloire), cagney@gnu.org (Andrew Cagney), drow@false.org (Daniel Jacobowitz), gdb@sources.redhat.com In-Reply-To: <16625.49885.55497.860630@nick.uklinux.net> from "Nick Roberts" at Jul 11, 2004 11:44:45 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00112.txt.bz2 > > > > Nic, are you using the -var-obj for variables, in theory they > > have the context i.e. should be thread aware ? > > Ah yes, I can see that now. It seems a bit quirky and that you have to > do a -var-update for each thread. Also there's no way of seeing which > thread the variable object is for: > > -var-info-expression var1 > ^done,lang="C",exp="y" > (gdb) > -var-info-expression var2 > ^done,lang="C",exp="y" > (gdb) > Interesting idea. For now, we(the front-end) send -var-update varxxx when a new thread is selected. (Can not use -var-update "*", for some reasone it gets all strange/bizarre if varobj are created for registers too). Curious, what do you want to accomplish with this, or rather how do you intend to use it in you emacs port ?