This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdbserver on PowerPC Issues
>>>>> "Daniel" == Daniel Jacobowitz <drow@mvista.com> writes:
Daniel> On Wed, Nov 20, 2002 at 02:22:56PM -0500, Paul Mundt wrote:
>> On Wed, 2002-11-20 at 13:39, Daniel Jacobowitz wrote: > The
>> problem is presumably that you haven't told GDB where to look for
>> > the dynamic linker and shared libraries. Try using 'set >
>> solib-absolute-prefix' before you 'target remote'.
>> >
>> Ah! This was indeed the problem. Though oddly enough, adjusting
>> solib-absolute-prefix didn't make the problem go away. I had to
>> set it to /dev/null and then set solib-search-patch to the proper
>> directory before the issue would fix itself.
>>
>> There was some CRIS documentation hinting that that would only be
>> necessary if the end of the path wasn't /lib, but in this case it
>> was.
Daniel> Mind setting solib-absolute-prefix and stracing GDB to see
Daniel> what it was opening, then? It really should work.
Depends on whether the library names are given in the image with a
leading slash or not. If yes, then the absolute prefix setting
matters; if not, the search path.
paul