From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12703 invoked by alias); 17 Dec 2009 04:44:40 -0000 Received: (qmail 12695 invoked by uid 22791); 17 Dec 2009 04:44:39 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Dec 2009 04:44:35 +0000 Received: from spaceape11.eur.corp.google.com (spaceape11.eur.corp.google.com [172.28.16.145]) by smtp-out.google.com with ESMTP id nBH4iW3n027064 for ; Wed, 16 Dec 2009 20:44:33 -0800 Received: from qw-out-2122.google.com (qwb9.prod.google.com [10.241.193.73]) by spaceape11.eur.corp.google.com with ESMTP id nBH4iTCk013053 for ; Wed, 16 Dec 2009 20:44:30 -0800 Received: by qw-out-2122.google.com with SMTP id 9so425280qwb.25 for ; Wed, 16 Dec 2009 20:44:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.108.198 with SMTP id g6mr1330917qap.107.1261025067033; Wed, 16 Dec 2009 20:44:27 -0800 (PST) In-Reply-To: <597A11B8CF75534EBE76656E186BF106E0135E@stella.stratos.local> References: <597A11B8CF75534EBE76656E186BF106E0135E@stella.stratos.local> Date: Thu, 17 Dec 2009 04:44:00 -0000 Message-ID: <8ac60eac0912162044k34bc2765ja16c74274141275a@mail.gmail.com> Subject: Re: Cross-platform, multithreaded debugging (x86 to ARM) with gdb and gdbserver not recognizing threads From: Paul Pluzhnikov To: Jason Machacek Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true 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: 2009-12/txt/msg00098.txt.bz2 On Wed, Dec 16, 2009 at 3:01 PM, Jason Machacek wro= te: >=A0Can anyone help me figure out why I'm unable to get > gdb/gdbserver to work properly with my target? A couple of questions: - Does gdbserver config.log mention libthread_db.so, and if so, which one? - Does ldd gdbserver on target show libthread_db.so, and if so, is the right one? (Should come from the same compilation from which libc.so.6 and libpthread.so.0 came.) - Is libpthread.so.0 on target stripped? Most of the "SIG32" problems come from stripped libpthread.so.0 or libpthread/libthread_db mismatch. Good luck! --=20 Paul Pluzhnikov