From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23450 invoked by alias); 24 Jan 2007 15:59:34 -0000 Received: (qmail 23440 invoked by uid 22791); 24 Jan 2007 15:59:32 -0000 X-Spam-Check-By: sourceware.org Received: from szxga02-in.huawei.com (HELO szxga02-in.huawei.com) (61.144.161.54) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 24 Jan 2007 15:59:21 +0000 Received: from huawei.com (szxga02-in [172.24.2.6]) by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0JCD009PRR2QIJ@szxga02-in.huawei.com> for gdb@sourceware.org; Wed, 24 Jan 2007 23:59:15 +0800 (CST) Received: from huawei.com ([172.24.1.24]) by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0JCD009TJR2QO4@szxga02-in.huawei.com> for gdb@sourceware.org; Wed, 24 Jan 2007 23:59:14 +0800 (CST) Received: from DHEERAJ3666 ([10.18.20.123]) by szxml04-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTPA id <0JCD004KFR2L0D@szxml04-in.huawei.com> for gdb@sourceware.org; Wed, 24 Jan 2007 23:59:14 +0800 (CST) Date: Wed, 24 Jan 2007 15:59:00 -0000 From: "Dheeraj V.S." Subject: RE: Single stepping inside shared lib functions on ARM In-reply-to: <20070124130733.GB3676@nevyn.them.org> To: gdb@sourceware.org Reply-to: dheerajvs@huawei.com Message-id: <001601c73fd0$961eb210$7b14120a@china.huawei.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 11 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00314.txt.bz2 On Wed, Jan 24, 2007 18:38, Daniel Jacobowitz wrote: > On Wed, Jan 24, 2007 at 06:16:42PM +0530, Dheeraj V.S. wrote: > > From To Syms Read Shared Object Library > > 0x400224b4 0x40022630 No /home/dheeraj/libgdb_test.so.1 > > 0x40041910 0x40118758 No /usr/arm/sysroot/lib/libc.so.6 > > 0x40000b80 0x40012bc8 No /usr/arm/sysroot/lib/ld- > linux.so.2 > > Also, that warning means that the libraries GDB found on your host are > not the same versions as the ones on your target. They have to be the > same versions, or it can not step into them. You're right. The versions of libc.so and ld-linux.so were not the same on the host. That's the reason why we see "No" under the "Syms Read" column of "info share". By correctly setting the solib-absolute-prefix, the problem is resolved. Thank you. Dheeraj --