Hi all,
I want to debug into glibc functions like nftw() in Ubuntu Linux (nftw
require a function pointer argument and I want to step into this
function).
But after installed libc6.dbg and set environment
LD_LIBRARY_PATH(I have to set it in gdb by "set env LD_LIBRARY_PATH
/usr/lib/debug"), my emacs/gdb still cannot step into the glibc
function.
Shall I compile the glibc by myself, or shall I set other environment
parameters?
Thanks!
Davy
Not exactly addressing your question, but does setting a
breakpoint in your supplied function allow you to debug
things?
You should try installing a debug symbol package for the library.
https://wiki.ubuntu.com/DebuggingProgramCrash
--
Max