From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27690 invoked by alias); 6 Dec 2004 18:41: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 27558 invoked from network); 6 Dec 2004 18:41:26 -0000 Received: from unknown (HELO main.gmane.org) (80.91.229.2) by sourceware.org with SMTP; 6 Dec 2004 18:41:26 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CbNnZ-0001eF-00 for ; Mon, 06 Dec 2004 19:41:25 +0100 Received: from h85s74a129n47.user.nortelnetworks.com ([47.129.74.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Dec 2004 19:41:25 +0100 Received: from linhd by h85s74a129n47.user.nortelnetworks.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Dec 2004 19:41:25 +0100 To: gdb@sources.redhat.com From: Linh Dang Subject: NPTL on ppc (was: pthreads debug with gdbserver) Date: Mon, 06 Dec 2004 18:41:00 -0000 Organization: Null Message-ID: References: <200411191233.22357.vladimir.vorobyov@iss.org.ua> <200411191641.15822.vladimir.vorobyov@iss.org.ua> <20041120013220.GB27485@nevyn.them.org> <200411201427.13557.vladimir.vorobyov@iss.org.ua> <20041120164209.GA15174@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: h85s74a129n47.user.nortelnetworks.com User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-SW-Source: 2004-12/txt/msg00028.txt.bz2 Daniel Jacobowitz wrote: > > Take a look at the source code to gdbserver. Andreas, now I > remember why I enabled thread_db support on a per-target basis - > there are other support routines that have to be written. Hi Daniel and Andreas, Does gdbserver works with NPTL on ppc32? I use 6.3.50 and I keep getting on the target side: gdbserver 47.129.74.85:8888 p_greetings2 Process p_greetings2 created; pid = 288 Listening on port 8888 Remote debugging from host 47.129.74.85 error = 0 error = 0 Cannot find new threads: generic error error = 0 Cannot find new threads: generic error error = 0 Cannot find new threads: generic error and on the host side: target extended-remote 47.135.196.213:8888 Remote debugging using 47.135.196.213:8888 0x30011e28 in ?? () (gdb) b main Breakpoint 1 at 0x1000080c (gdb) info b Num Type Disp Enb Address What 1 breakpoint keep y 0x1000080c (gdb) c Continuing. Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Breakpoint 1, 0x1000080c in main () (gdb) info shared From To Syms Read Shared Object Library 0x0ffd17e4 0x0ffdbd4c Yes /linux-tools-2.6/powerpc-linux/lib/libpthread.so.0 0x0fe9b060 0x0ff850a4 Yes /linux-tools-2.6/powerpc-linux/lib/libc.so.6 0x30001ee0 0x300155d0 Yes /linux-tools-2.6/powerpc-linux/lib/ld.so.1 (gdb) Thanx -- Linh Dang