From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22371 invoked by alias); 24 Jan 2008 06:36:15 -0000 Received: (qmail 22357 invoked by uid 22791); 24 Jan 2008 06:36:15 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 24 Jan 2008 06:35:54 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JHvgl-0001Cg-K4 for gdb-patches@sources.redhat.com; Thu, 24 Jan 2008 06:35:51 +0000 Received: from 77.246.241.246 ([77.246.241.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Jan 2008 06:35:51 +0000 Received: from vladimir by 77.246.241.246 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Jan 2008 06:35:51 +0000 To: gdb-patches@sources.redhat.com From: Vladimir Prus Subject: Re: [PATCH] Variable objects in multi-threaded programs Date: Thu, 24 Jan 2008 06:36:00 -0000 Message-ID: References: <18328.5277.85018.374650@kahikatea.snap.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.5 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00579.txt.bz2 Nick Roberts wrote: > > Currently GDB thinks variable objects have gone out of scope if the thread > changes. This is indeed a major problem. > This patch corrects that. I'm somewhat concerned that this patch makes gdb traverse stacks of all threads -- it can take quite some time. Would a better solution be to store thread id inside varobj? - Volodya