This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: cross-debugging with gdbserver, why can't gdb find breakpoint function?
- From: Jon Ringle <jon dot ringle at comdial dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 17 Jul 2003 16:20:38 -0400
- Subject: Re: cross-debugging with gdbserver, why can't gdb find breakpoint function?
- References: <m3u19k2abf.fsf@bfnet.com>
On Thursday 17 July 2003 04:00 pm, David Wuertele wrote:
> Why is gdb trying to open /lib/ld.so.1? That /lib directory has
> nothing to do with the target libs. The target libs can be found in
> /nfsroot/lib. How do I tell gdb to look there instead of /lib?
>
this worked for me on my arm crossgdb:
(gdb) set solib-absolute-prefix /dev/null
(gdb) set solib-search-path /nfsroot/lib
Jon