From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27987 invoked by alias); 11 Dec 2002 03:04:53 -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 27979 invoked from network); 11 Dec 2002 03:04:51 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 11 Dec 2002 03:04:51 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CCBA93C17; Tue, 10 Dec 2002 22:04:45 -0500 (EST) Message-ID: <3DF6AB4D.3060502@redhat.com> Date: Tue, 10 Dec 2002 19:04:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nat Gurumoorthy Cc: drow@mvista.com, gdb@sources.redhat.com Subject: Re: Proposal for customization of output of "to_pid_to_str" op in remote.c References: <200212110224.gBB2OMH29101@ubicom.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00182.txt.bz2 >>Daniel Jaccobowitz wrote >>Let's take a step back. What would you be defining this macro as? What do > > you want besides >"New thread"? > > Daniel, > What I am proposing is that this macro is a call into a print > function defined in my target-tdep.c file. When I type "info threads" > this interface is getting invoked and I'd like to print a more > descriptive string about the various threads running on our hardware. > Right now it prints it out as > 8 Thread 6 > Which is quite confusing. (The first number is GDB internal numbering. > The second number is the thread ID issued in my target) What will change > is that Thread 6 will become something more descriptive. > > Regards > Nat Er, isn't there already stuff like qThreadInfo? Andrew