From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4628 invoked by alias); 24 Aug 2004 17:53:10 -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 4603 invoked from network); 24 Aug 2004 17:53:09 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 24 Aug 2004 17:53:09 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1BzfTg-0003sZ-Vk; Tue, 24 Aug 2004 13:53:01 -0400 Date: Tue, 24 Aug 2004 17:53:00 -0000 From: Daniel Jacobowitz To: Hinko Kocevar Cc: Kris Warkentin , gdb@sources.redhat.com Subject: Re: remote debugging and source files Message-ID: <20040824175300.GB14799@nevyn.them.org> Mail-Followup-To: Hinko Kocevar , Kris Warkentin , gdb@sources.redhat.com References: <412B4B05.8060705@iskramedical.si> <412B5FE6.8080406@iskramedical.si> <412B6515.2030501@iskramedical.si> <412B6ABC.9060804@qnx.com> <412B7E21.2080500@iskramedical.si> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <412B7E21.2080500@iskramedical.si> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-08/txt/msg00335.txt.bz2 On Tue, Aug 24, 2004 at 07:42:57PM +0200, Hinko Kocevar wrote: > Kris Warkentin wrote: > >auto-solib-add will only work properly if gdb successfully sets the > >solib event breakpoint in the loader. Try 'maint info breakpoints' and > >see if it's being set. You could also try setting stop-on-solib-events > >to see if it's actually stopping. Sometimes you have problems if there > >is a different version of the loader on host and target. > > > > It seems that solib events have enabled breakpoint, > > (gdb) maintenance info breakpoints > Num Type Disp Enb Address What > -2 longjmp resume keep n 0x00000000 > -3 shlib events keep y 0x4000b8d8 > > but execution won't stop if I do > set stop-on-solib-events 1 Check whether that breakpoint is in the right place. Probably it isn't. Probably Kris is right that there is a mismatch... -- Daniel Jacobowitz