From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4729 invoked by alias); 23 Mar 2004 19:13:39 -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 4715 invoked from network); 23 Mar 2004 19:13:38 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 23 Mar 2004 19:13:38 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1B5rLF-0007JH-Og; Tue, 23 Mar 2004 14:13:37 -0500 Date: Tue, 23 Mar 2004 20:41:00 -0000 From: Daniel Jacobowitz To: Lukas Heiniger Cc: gdb@sources.redhat.com Subject: Re: SIGTRAP or SIG32 when remote debugging threads Message-ID: <20040323191337.GA28050@nevyn.them.org> Mail-Followup-To: Lukas Heiniger , gdb@sources.redhat.com References: <200403191107.34202.lukas.heiniger@fela.ch> <200403220947.46105.lukas.heiniger@fela.ch> <20040322142216.GA19284@nevyn.them.org> <200403231755.46001.lukas.heiniger@fela.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403231755.46001.lukas.heiniger@fela.ch> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-03/txt/msg00212.txt.bz2 On Tue, Mar 23, 2004 at 05:55:45PM +0100, Lukas Heiniger wrote: > (gdb) set solib-absolute-prefix /home/hynix/arm/arm-linux > (gdb) set solib-absolute-prefix /home/hynix/arm/arm-linux > (gdb) c > Continuing. > > Program received signal SIG32, Real-time event 32. > 0x40088534 in ?? () > > (gdb) set solib-absolute-prefix /home/hynix/arm/arm-linux > Reading symbols from /home/hynix/arm/arm-linux/lib/libm.so.6...done. > Loaded symbols for /home/hynix/arm/arm-linux/lib/libm.so.6 This suggests that the dynamic linker breakpoint wasn't hit. You may want to use 'set debug remote 1' and 'set debug target 1' to try to figure out where the breakpoint was set, and why it wasn't hit. > 2 Thread 2049 0x400fa7b8 in tcsetattr (fd=1, optional_actions=1, > termios_p=0x0) at ../sysdeps/unix/sysv/linux/tcsetattr.c:92 > 1 Thread 1024 0x40088534 in __sigsuspend (set=0xbffffc6c) at ../sysdeps/ > unix/sysv/linux/sigsuspend.c:54 These are taken from the debug information; they're relative to the objdir when your target glibc was built. They don't necessarily refer to on-disk files. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer