On 2010-09-15 14:17 +0200, Frédéric Boiteux wrote: > I've tried : > > env LD_LIBRARY_PATH=/usr/lib/debug gdb ecran core.ecran
I'm afraid this cannot work because the crashed process that left the core file around had used the non-debug version of the library for which no symbols are available anywhere. > Do I have to use the LD_LIBRARY_PATH during my program's linking process > (with ld), or do I have to use it with gdb ? You have to use it before you start your program, e.g. $ env LD_LIBRARY_PATH=/usr/lib/debug gdb ecran Specifying it at link time would also be possible, e.g. by linking with "-rpath=/usr/lib/debug", but don't do this for binaries that you give to others. Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87zkvjkw2j....@turtle.gmx.de