This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Single stepping inside shared lib functions on ARM
- From: "Dheeraj V.S." <dheerajvs at huawei dot com>
- To: gdb at sourceware dot org
- Date: Wed, 24 Jan 2007 21:29:09 +0530
- Subject: RE: Single stepping inside shared lib functions on ARM
- Reply-to: dheerajvs at huawei dot com
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
--