From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 492 invoked by alias); 24 Mar 2004 15:02:41 -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 480 invoked from network); 24 Mar 2004 15:02:39 -0000 Received: from unknown (HELO fela.ch) (62.167.9.67) by sources.redhat.com with SMTP; 24 Mar 2004 15:02:39 -0000 Received: from 192.168.139.154 (DHCP154 [192.168.139.154]) by fela.ch (8.9.3/8.9.3) with ESMTP id QAA05205; Wed, 24 Mar 2004 16:02:33 +0100 From: Lukas Heiniger Organization: Fela Management AG To: Daniel Jacobowitz Subject: Re: SIGTRAP or SIG32 when remote debugging threads Date: Wed, 24 Mar 2004 15:09:00 -0000 User-Agent: KMail/1.5.4 Cc: gdb@sources.redhat.com References: <200403191107.34202.lukas.heiniger@fela.ch> <200403241411.16660.lukas.heiniger@fela.ch> <20040324143913.GA25841@nevyn.them.org> In-Reply-To: <20040324143913.GA25841@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403241603.13624.lukas.heiniger@fela.ch> X-SW-Source: 2004-03/txt/msg00234.txt.bz2 On Wednesday 24 March 2004 15:39, Daniel Jacobowitz wrote: > On Wed, Mar 24, 2004 at 02:11:16PM +0100, Lukas Heiniger wrote: > > It looks like setting and hitting the shlib event breakpoint works. > > Not to me. Is 0x40002570 the shlib event breakpoint, and if so, why > are you stopped there instead of at the first instruction in the > program? According to 'maint info breakpoints' (you can find it approximately in the middle of my last session) the shlib event breakpoint is located at 0x4000c3fc. After entering 'continue', gdb seems to set a breakpoint there. The instruction is restored after SIG32 has been received. I think that 0x40002570 actually is the first instruction in the program.