From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14511 invoked by alias); 18 Oct 2005 13:08:20 -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 14496 invoked by uid 22791); 18 Oct 2005 13:08:18 -0000 Received: from webmail-out.libertysurf.net (HELO mail.libertysurf.net) (213.36.80.105) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 18 Oct 2005 13:08:18 +0000 Received: from aliceadsl.fr (192.168.10.36) by mail.libertysurf.net (7.1.026) id 430C473F000C1204 for gdb@sources.redhat.com; Tue, 18 Oct 2005 15:08:16 +0200 Date: Tue, 18 Oct 2005 13:08:00 -0000 Message-Id: Subject: =?iso-8859-1?Q?gdbserver_multithreaded_debugging?= MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "=?iso-8859-1?Q?olivier.carmona@ieee.org?=" To: "=?iso-8859-1?Q?gdb?=" X-XaM3-API-Version: 3.2 R18 (B34 pl1) X-type: 0 X-SenderIP: 80.124.168.196 X-SW-Source: 2005-10/txt/msg00098.txt.bz2 Dear All,=0D =0D I am trying to use gdbserver to remotely debug a=0D multithreaded application.=0D =0D Target is a ARM9, running Linux v2.6.10; gdbserver from the=0D 6.3 release tarball and built on local host.=0D =0D Local host is a Pentium IV, running Fedora Core 3, gdb v 6.3.=0D =0D I get a SIGKILL as soon as a thread starts, execution stops=0D on gdb side, and on gdbserver side it also stops showing a=0D Terminated: Killing Inferior.=0D =0D We tried a few things:=0D =0D - we forced to ignore the SIGKILL and/or the SIG32 signals,=0D =0D - we forced loading the symbol from shared library on the=0D host side (thanks to solib-absolute-prefix and=0D solib-search-path, library copied: libpthread, ldlinux, libc),=0D =0D - we forced loading a local copy of libthread_db.so (using=0D also solib-absolute-prefix and solib-search-path),=0D =0D ...,but nonetheless we got not solution.=0D =0D I don't see this problem while debugging in=0D non-multithreaded application.=0D =0D Is there anything I can do to solve the problem I am=0D experiencing with gdbserver?=0D =0D __=0D Olivier Carmona=0D =0D =0D =0D ------------ ALICE HAUT DEBIT A 29,95 EUR/MOIS ------------ ALICEBOX, l'offre Internet tout en 1 : ADSL, t=E9l=E9phonie, modem Wi-Fi et= en exclusivit=E9 la hotline gratuite 24h/24 ! Soumis =E0 conditions. Pour en profiter clique= z ici http://abonnement.aliceadsl.fr