From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21936 invoked by alias); 20 Oct 2005 05:36:32 -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 21924 invoked by uid 22791); 20 Oct 2005 05:36:30 -0000 Received: from webmail-out.libertysurf.net (HELO mail.libertysurf.net) (213.36.80.105) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 20 Oct 2005 05:36:30 +0000 Received: from aliceadsl.fr (192.168.10.40) by mail.libertysurf.net (7.1.026) id 430C481D000CB7EA for gdb@sources.redhat.com; Thu, 20 Oct 2005 07:36:28 +0200 Date: Thu, 20 Oct 2005 05:36:00 -0000 Message-Id: Subject: =?iso-8859-1?Q?Re:_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: 83.156.254.19 X-SW-Source: 2005-10/txt/msg00108.txt.bz2 Thanks Daniel and Lim.=0D =0D Here are more information as requested:=0D =0D We are using:=0D GLIBC 2.3.3=0D Thread : LinuxThread 0.10=0D GDB 6.3=0D =0D When we set the breakpoint in the main thread: program is=0D running correctly and we can watch the main program.=0D =0D But as soon as we set the breakpoint in a thread, gdb server=0D terminates with a signal "Killing inferior" and stops,=0D whereas gdb stops printing the following message:=0D "Program terminated with signal SIGKILL, Killed".=0D "The program no longer exists."=0D At this point, of course, when we do a backtrace in gdb, we=0D got a corrupted stack.=0D =0D We checked hat all shared libraries exists on target and are=0D loaded correctly. Moreover, libthread_db.so exists on the=0D target side and we tried copying on the local host using set=0D solib-absolute-prefix.=0D =0D We have a slight difference between a GDB 6.3 2005.3.17 and=0D a GDB 6.3.50, the only difference is that gdb prints the=0D following message in place:=0D " Program received signal SIGSEGV, Segmentation fault."=0D "0x00000000 in ?? ()"=0D =0D Olivier Carmona ------------ 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