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 pthread in ARM.


On Tue, May 15, 2007 at 02:49:04PM +0200, gomrioje wrote:
> - For the gdb (host):
> set solib-absolute-prefix /dev/null/
> set
> solib-search-path /app/arm/debug/:/app/arm/bitbaketmp/staging/arm-linux/lib/

Don't do that.  Whatever told you to do it was wrong.

You need to set solib-absolute-prefix to point at something that looks
like your target's file system, that is, you should be able to add
/lib/ld-linux.so.2 (or however your platform spells it) and find the
dynamic linker at that path on the host.

-- 
Daniel Jacobowitz
CodeSourcery


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