This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdbserver, sysroot, prelink
- From: Felix Lee <felix dot 1 at canids dot net>
- To: gdb list <gdb at sources dot redhat dot com>
- Date: Mon, 04 Oct 2004 10:37:36 -0700
- Subject: gdbserver, sysroot, prelink
if you use gdbserver to debug a program on a remote Fedora Core 2
machine, then you need to set solib-absolute-prefix to a copy of
the shared libraries from that specific machine. you can't use
generic FC2 shared libraries, because 'prelink' in nightly cron
does arbitrary relocation of shared libraries on each machine.
this probably affects any system that uses prelink; I haven't
tried any other than FC2.
I don't think there's anything that needs fixing. just pointing
out that configuring --with-sysroot is basically useless for any
system that uses prelink.
--