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, sysroot, prelink


On Mon, Oct 04, 2004 at 12:00:03PM -0700, Felix Lee wrote:

Daniel Jacobowitz <drow@false.org>:

> How does this make --with-sysroot useless?  That's exactly what sysroot
> is supposed to do - point it where you keep the exact libraries of the
> machine.  I usually point it to an NFS server.

Is there a command to change this (testcase, doco)? I guess the lack of a command is the reason for not having it always enabled.


(Hmm, I wonder, did GDB check that the shlibs it was loading were compatible with the main executable?)

Andrew

doesn't that assume you only have one such target machine in your
installation?


I have a different sysroot for each target machine.  They use NFS to
root from the host I run GDB on.  Otherwise, I copy the libraries to
the target.


maybe setting the default solib-absolute-prefix to something like
'[[please set solib-absolute-prefix]]' would be helpful when
there isn't a sensible default.


If there isn't a sensible default for your environment, perhaps you
should give a nonexistant directory for --with-sysroot...

-- Daniel Jacobowitz



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