Re: Help with debugging LD_PRELOADed shared C libraries

Daniel Jacobowitz
2006-07-13T17:05:39Z

On Thu, Jul 13, 2006 at 06:46:58PM +0200, Thomas Ackermann wrote:
> I tried "export LD_PRELOAD=/.../mylib.so" and then started "gdb mybin
> core" or tried to set it within gdb: "set environment
> LD_PRELOAD /.../mylib.so" and then continue with "file mybin" and "core
> core", but:

If you're using a core file, the environment doesn't matter. The
libraries should be loaded automatically.

Does info shared show something reasonable-looking?

Are you sure that core dumps work on this system?

--
Daniel Jacobowitz
CodeSourcery