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: Debugging a shared library through gdbserver


> > 
> > # my shared library is in lib/
> > (gdb) set solib-absolute-prefix lib
> 
> That's not what solib-absolute-prefix is for.  You need to point it at
> the root of a filesystem image that matches the one running on your
> target, so that GDB can open <prefix>/lib/ld.so.1 and
> <prefix>/usr/lib/libfoo.so.  I usually use NFS for this.  If you
> do that...
Unfornately, I am using TFTP to download a RAM disk image to my board and
run it. Is there any other solution for the case?

Thank you
Dennis


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