From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24448 invoked by alias); 11 Dec 2002 02:24:34 -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 24439 invoked from network); 11 Dec 2002 02:24:32 -0000 Received: from unknown (HELO hydra.ubicom.com) (4.20.168.98) by sources.redhat.com with SMTP; 11 Dec 2002 02:24:32 -0000 Received: FROM jaguar.scenix_engr BY hydra.ubicom.com ; Tue Dec 10 18:23:17 2002 -0800 Received: from ubicom.com by jaguar.scenix_engr (SMI-8.6/SMI-SVR4) id SAA26732; Tue, 10 Dec 2002 18:24:22 -0800 Received: (from natg@localhost) by ubicom.com (8.11.6/8.11.6) id gBB2OMH29101; Tue, 10 Dec 2002 18:24:22 -0800 Date: Tue, 10 Dec 2002 18:24:00 -0000 From: Nat Gurumoorthy Message-Id: <200212110224.gBB2OMH29101@ubicom.com> To: drow@mvista.com Subject: Re: Proposal for customization of output of "to_pid_to_str" op in remote.c Cc: gdb@sources.redhat.com X-SW-Source: 2002-12/txt/msg00179.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 Ps: Daniel I apologize I you are seeing this for the 3rd time. The first 2 times I sent it from a Windows machine and the redhat Mailer barfed.