From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21131 invoked by alias); 24 Aug 2004 16:35:42 -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 21112 invoked from network); 24 Aug 2004 16:35:40 -0000 Received: from unknown (HELO hub.ott.qnx.com) (209.226.137.76) by sourceware.org with SMTP; 24 Aug 2004 16:35:40 -0000 Received: from smtp.ott.qnx.com (smtp.ott.qnx.com [10.0.2.158]) by hub.ott.qnx.com (8.9.3/8.9.3) with ESMTP id LAA29941 for ; Tue, 24 Aug 2004 11:50:10 -0400 Received: from [10.12.1.181] (dhcpa181 [10.12.1.181]) by smtp.ott.qnx.com (8.8.8/8.6.12) with ESMTP id MAA03147; Tue, 24 Aug 2004 12:19:48 -0400 Message-ID: <412B6ABC.9060804@qnx.com> Date: Tue, 24 Aug 2004 16:35:00 -0000 From: Kris Warkentin User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) MIME-Version: 1.0 To: Hinko Kocevar 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> In-Reply-To: <412B6515.2030501@iskramedical.si> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00324.txt.bz2 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. cheers, Kris Hinko Kocevar wrote: > Hinko Kocevar wrote: > ... > >> >> IMHO libraries are found and loaded, but sysbols are not read... Why? >> >> regards, >> h >> > > Ok, I got it to load the symbols manualy with > sharedlibrary > /opt/arm-linux/gcc-3.3.3-glibc-2.3.2/arm-softfloat-linux-gnu/usr/local/lib/libnano-X.so > > > I wonder if this could be automated. As I stated earlier on host, > debugging program compiled for host, it loads symbols automaticaly. If > debugging program for ARM target I have to manualy load the symbols ?! > > 'Autoloading of shared library symbols' is set to true in ddd/gdb so > this should do it, right? > > regards, > h >