From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27456 invoked by alias); 24 Aug 2007 12:19:34 -0000 Received: (qmail 27428 invoked by uid 22791); 24 Aug 2007 12:19:33 -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; Fri, 24 Aug 2007 12:19:24 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 1768A9810C; Fri, 24 Aug 2007 12:19:25 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id E95969810B; Fri, 24 Aug 2007 12:19:24 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IOY8I-0000cg-DV; Fri, 24 Aug 2007 08:19:22 -0400 Date: Fri, 24 Aug 2007 12:19:00 -0000 From: Daniel Jacobowitz To: "Veenu Verma (AS/EAB)" Cc: Mark Kettenis , gdb@sourceware.org Subject: Re: Thread exit & create events Message-ID: <20070824121922.GA2374@caradoc.them.org> Mail-Followup-To: "Veenu Verma (AS/EAB)" , Mark Kettenis , gdb@sourceware.org References: <9171BA436A79BF46953672FB5A11DA5E012B45C6@esealmw104.eemea.ericsson.se> <200708241046.l7OAkOel020079@brahms.sibelius.xs4all.nl> <20070824120037.GA1084@caradoc.them.org> <9171BA436A79BF46953672FB5A11DA5E012B4730@esealmw104.eemea.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9171BA436A79BF46953672FB5A11DA5E012B4730@esealmw104.eemea.ericsson.se> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00185.txt.bz2 On Fri, Aug 24, 2007 at 02:13:07PM +0200, Veenu Verma (AS/EAB) wrote: > >I am not sure why this would be any different on HP-UX unless they're > looking at WDB instead of GDB. > > In GDB documentation it says > > For example, on HP-UX, you see > [New thread 2 (system thread 26594)] > > For example, on GNU/Linux, you might see > [New Thread 46912507313328 (LWP 25582) I suspect that 2 is the system identifier on HP-UX and this is not necessarily the same small integer as GDB's. I might be wrong though, I have never worked with the HP-UX code. > Is it difficult to incorporate this small integer while reporting an > event in GDB ? No, but how are you getting these events in the first place? Are you really parsing the ~"" console output? I think you can find discussions of a real MI event for this sort of thing in the archives somewhere. -- Daniel Jacobowitz CodeSourcery