From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27615 invoked by alias); 24 Aug 2004 17:42:59 -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 27604 invoked from network); 24 Aug 2004 17:42:59 -0000 Received: from unknown (HELO pegasus.siol.net) (193.189.160.40) by sourceware.org with SMTP; 24 Aug 2004 17:42:59 -0000 Received: from kudu.siol.net ([10.10.10.22]) by pegasus.siol.net (InterMail vK.4.03.05.03 201-232-132-103 license 1cbf71897a39210db31154c99f0b4628) with ESMTP id <20040824174258.WVCB4845.pegasus@kudu.siol.net>; Tue, 24 Aug 2004 19:42:58 +0200 Received: from [192.168.0.77] ([193.77.141.243]) by kudu.siol.net (InterMail vK.4.03.05.03 201-232-132-103 license 1cbf71897a39210db31154c99f0b4628) with ESMTP id <20040824174258.IHKO16288.kudu@[193.77.141.243]>; Tue, 24 Aug 2004 19:42:58 +0200 Message-ID: <412B7E21.2080500@iskramedical.si> Date: Tue, 24 Aug 2004 17:42:00 -0000 From: Hinko Kocevar User-Agent: Mozilla Thunderbird 0.7 (X11/20040615) MIME-Version: 1.0 To: Kris Warkentin CC: gdb@sources.redhat.com Subject: Re: remote debugging and source files References: <412B4B05.8060705@iskramedical.si> <412B5FE6.8080406@iskramedical.si> <412B6515.2030501@iskramedical.si> <412B6ABC.9060804@qnx.com> In-Reply-To: <412B6ABC.9060804@qnx.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2004-08/txt/msg00332.txt.bz2 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 regards, h -- hinko kocevar iskramedical si Hinko Kocevar, developer Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU "Aì rén" | [Analects XII:22]