From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20540 invoked by alias); 20 Mar 2004 08:35:55 -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 20533 invoked from network); 20 Mar 2004 08:35:52 -0000 Received: from unknown (HELO av.mvista.com) (12.44.186.158) by sources.redhat.com with SMTP; 20 Mar 2004 08:35:52 -0000 Received: from data.mvista.com (av [127.0.0.1]) by av.mvista.com (8.9.3/8.9.3) with ESMTP id AAA19504; Sat, 20 Mar 2004 00:35:49 -0800 Received: from mvista.com (localhost [127.0.0.1]) by data.mvista.com (8.12.8/8.12.8) with ESMTP id i2K8Zjjv020622; Sat, 20 Mar 2004 00:35:46 -0800 Message-ID: <405C0261.5020605@mvista.com> Date: Mon, 22 Mar 2004 09:40:00 -0000 From: George Anzinger Organization: MontaVista Software User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 MIME-Version: 1.0 To: Andrew Cagney CC: Daniel Jacobowitz , Eli Zaretskii , gdb@sources.redhat.com Subject: Re: Making "info thread" sane References: <403FEA02.6040506@mvista.com> <200403011454.35346.amitkale@emsyssoft.com> <4044FEDE.5000105@mvista.com> <20040302214535.GA24405@nevyn.them.org> <40450749.7020304@mvista.com> <20040302221718.GA26931@nevyn.them.org> <404515AA.8040709@mvista.com> <404517E8.1020708@gnu.org> <4045236B.3060104@mvista.com> <20040303142842.GA12777@nevyn.them.org> <4046267E.1080808@mvista.com> <404629E3.5020906@gnu.org> <40465651.900@mvista.com> <404D1CFF.6070209@gnu.org> <40510325.4070101@mvista.com> <40522C95.7060900@gnu.org> In-Reply-To: <40522C95.7060900@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00193.txt.bz2 Andrew Cagney wrote: >>> >>> > 2) I would like to have the result of the "ThreadExtraInfo" on the >>> same line (as the info thread command does). >>> >>> Can you post the output so we can see exactly what you mean here? >> >> >> >> I haven't got it all working as yet, but the "thread apply all" >> puts out something like: >> Thread 1 (Thread 1): >> for each thread. An option I would like is for this to not have new >> line so I can add to it, something like: >> Thread 1 (Thread 1): (init) 0xff00.... >> and keep it all on one line. > > > Ah, ulgh. I don't think it should output anything. Something like: > > foreach thread $t > end > > But we are trying to build a replacement for info thread and do need the two numbers. If they were available as "$" vars that would work too. Then I could change the second "Thread" to "pid" as it really is. -- George Anzinger george@mvista.com High-res-timers: http://sourceforge.net/projects/high-res-timers/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml