This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Single stepping inside shared lib functions on ARM


On Wed, Jan 24, 2007 17:42, Daniel Jacobowitz wrote:
> On Wed, Jan 24, 2007 at 04:33:15PM +0530, Dheeraj V.S. wrote:
> > (gdb) set solib-absolute-prefix  /home/dheeraj
> > (gdb) set solib-search-path /home/dheeraj
> 
> Where are your libraries on the host system?
The library is at /home/dheeraj/
This directory is mounted on the target. The same directory is used on the
host too.

> What does "info shared" say when you are stopped at main?
 (gdb) info share
warning: .dynamic section for "/usr/arm/sysroot/lib/libc.so.6" is not at the
expected address
warning: .dynamic section for "/usr/arm/sysroot/lib/ld-linux.so.2" is not at
the expected address
>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


Dheeraj
-- 




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]