From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6842 invoked by alias); 1 Apr 2008 14:05:18 -0000 Received: (qmail 6834 invoked by uid 22791); 1 Apr 2008 14:05:18 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Apr 2008 14:04:58 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id EA12C983CF; Tue, 1 Apr 2008 14:04:56 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id C9AB398119; Tue, 1 Apr 2008 14:04:56 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1Jgh6e-0003rD-3b; Tue, 01 Apr 2008 10:04:56 -0400 Date: Tue, 01 Apr 2008 14:13:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: per-thread variable objects Message-ID: <20080401140456.GC12753@caradoc.them.org> Mail-Followup-To: Vladimir Prus , gdb-patches@sources.redhat.com References: <200803242046.07322.vladimir@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803242046.07322.vladimir@codesourcery.com> User-Agent: Mutt/1.5.17 (2007-12-11) 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-04/txt/msg00011.txt.bz2 On Mon, Mar 24, 2008 at 08:46:06PM +0300, Vladimir Prus wrote: > @@ -66,6 +67,10 @@ print_varobj (struct varobj *var, enum p > xfree (type); > } > > + thread_id = varobj_get_thread_id (var); > + if (thread_id > 0) > + ui_out_field_int (uiout, "thread-id", thread_id); > + > if (varobj_get_frozen (var)) > ui_out_field_int (uiout, "frozen", 1); > } Please add this field to the manual. -- Daniel Jacobowitz CodeSourcery