From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19910 invoked by alias); 27 Apr 2004 16:40:03 -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 19863 invoked from network); 27 Apr 2004 16:40:01 -0000 Received: from unknown (HELO e35.co.us.ibm.com) (32.97.110.133) by sources.redhat.com with SMTP; 27 Apr 2004 16:40:01 -0000 Received: from westrelay01.boulder.ibm.com (westrelay01.boulder.ibm.com [9.17.195.10]) by e35.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id i3RGdxYm440470 for ; Tue, 27 Apr 2004 12:39:59 -0400 Received: from austin.ibm.com (d03av03.boulder.ibm.com [9.17.193.83]) by westrelay01.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i3RGdxPi431560 for ; Tue, 27 Apr 2004 10:39:59 -0600 Received: from lazy.austin.ibm.com (lazy.austin.ibm.com [9.53.94.97]) by austin.ibm.com (8.12.10/8.12.10) with ESMTP id i3RGdw6j056218 for ; Tue, 27 Apr 2004 11:39:58 -0500 Date: Tue, 27 Apr 2004 19:06:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: gdb@sources.redhat.com Subject: pls pls point me to patch Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-04/txt/msg00168.txt.bz2 I built GDB (6.1) as a 64bit binary on PPC64, when I try to debug a 64bit threaded application I get the following. ---------------------------------------------------- GNU gdb 6.1.0.90_2004-04-27-cvs Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc64-gnu-linux"...Using host libthread_db library "/opt/biarch/2.6/20040408_nptl/lib64/libthread_db.so.1". (gdb) run Starting program: /home/manjo/project/tests/tbug64 [Thread debugging using libthread_db enabled] [New Thread 549757731856 (LWP 15225)] Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 549757731856 (LWP 15225)] 0x0000000000000000 in ?? () (gdb) quit The program is running. Exit anyway? (y or n) y ------------------------------------------------------- But I notice that this is fixed in the mainline CVS version of GDB, using mainline version of GDB I get the following: ------------------------------------------------------- GNU gdb 2004-04-12-cvs Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc64-gnu-linux"...Using host libthread_db libra ry "/opt/biarch/2.6/20040408_nptl/lib64/libthread_db.so.1". (gdb) run Starting program: /home/manjo/project/tests/tbug64 [Thread debugging using libthread_db enabled] [New Thread 549757731856 (LWP 15236)] [New Thread 549766121696 (LWP 15239)] [New Thread 549774510304 (LWP 15240)] tf(0): begin tf(0): end after create tf(1): begin tf(1): end [Thread 549766121696 (LWP 15239) exited] [Thread 549774510304 (LWP 15240) exited] after join Program exited normally. (gdb) quit [manjo@mars gdb_latest]$ ---------------------------------------------------------- Can someone please point me to patch(s) that I can apply(backport) to GDB 6.1 to solve this problem. Any help is deeply appreciated. Thanks --- Manoj Iyer