This is the mail archive of the gdb@sources.redhat.com 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: gdbserver on PowerPC Issues


On Wed, Nov 20, 2002 at 02:29:54PM -0500, Paul Koning wrote:
> >>>>> "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.

Right, but Paul's using a Linux target; both of the Linux dynamic
loaders I'm familiar with set full paths in the linker map. 
Fortunately, problem solved now!

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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