LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to use glibc-debug (https://www.linuxquestions.org/questions/programming-9/how-to-use-glibc-debug-266277/)

nboul 12-14-2004 09:10 AM

how to use glibc-debug
 
Hi all,
I'm trying to debug glibc in order to see what's going on in the socket functions (I'm working on a network driver and a few things remain a bit confuse).
I installed the glibc-debug package (on Mdk 10.1). Then I made a link from libc.so.6 to /usr/lib/debug/lib/libc-2.3.3.so.debug.
Then I set LD_LIBRARY_PATH to /usr/lib/debug/lib, and when I tried anything like ls or make, I get a seg fault.
Obviously, I'm not going the good way, but I did not find so many useful infos about that.

Could anyone help ??

Thanks


All times are GMT -5. The time now is 10:12 PM.