From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20697 invoked by alias); 24 Aug 2007 08:51:25 -0000 Received: (qmail 20652 invoked by uid 22791); 24 Aug 2007 08:51:25 -0000 X-Spam-Check-By: sourceware.org Received: from mailgw4.ericsson.se (HELO mailgw4.ericsson.se) (193.180.251.62) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Aug 2007 08:51:18 +0000 Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 7F46020567 for ; Fri, 24 Aug 2007 10:51:15 +0200 (CEST) X-AuditID: c1b4fb3e-af833bb0000007e1-55-46ce9c039068 Received: from esealmw128.eemea.ericsson.se (unknown [153.88.254.121]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 5A6892012E for ; Fri, 24 Aug 2007 10:51:15 +0200 (CEST) Received: from esealmw104.eemea.ericsson.se ([153.88.200.67]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Fri, 24 Aug 2007 10:51:11 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Thread exit & create events Date: Fri, 24 Aug 2007 08:51:00 -0000 Message-ID: <9171BA436A79BF46953672FB5A11DA5E012B45C6@esealmw104.eemea.ericsson.se> From: "Veenu Verma (AS/EAB)" To: 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/msg00179.txt.bz2 Hello We are integrating GDB back end with DSF ( Debugger Services Framework ) in Eclipse.=20 Found two stumbling blocks around thread exit/create events 1. Though GDB raises a thread exit event but -thread-list-ids command still list the reported exited thread for quite some time. There is a gap till I guess the thread completely exits. Only info threads give the hint by using "Exiting" in information.=20 This is a problem for us as we are relying on events and thread-list-ids commands to paint the GUI.=20 Info threads is used sparingly from front end. Can -thread-list-ids command take into account the exited threads ? Is it difficult to achieve this in GDB ?=20 2. GDB thread identifier is not speicified when a thread is created or exited. Only system identifier is used. Again thread-list-ids uses only gdb thread identifier. Hence, the mismatch and the problem. Since on HP-UX systems gdb thread identifier is shown, I'm guessing it shouldn't be hard to do the same for Linux. Is there a reason for not to have gdb identifier on linux or it's just that it's not done yet. Veenu Khanna Verma Ericsson - PDU Packet Server Platform Veenu Khanna Verma +46 7 38 09 33 09 / +46 8 727 36 05 AS/EAB/FTI/GT TADE Design Ericsson - PDU Packet Server Platform