linux - What is the recommended way to perform source-level debugging of system library calls? -
I need to debug some calls in the system library, to understand how the call is different, and why a Or the other will fail. Compromised system libraries and separate debug symbol files for Linux Distros, for example, /lib/libc-2.8. Therefore, symbols have been stripped, leaving information behind a section called .gnu_debuglink that contains information to find a different debug file. Separate debug files are installed through the debug package, and contain the symbolic information required by GDB. It is well described and After installing the debug package and sources, I was hoping that GDB symbols and sources would be available and I would be able to see the listing and take steps in the calls. Instead, GDB tells me "no line number to go for xyz" I've verified that the debug-file-location is correct, and the directory is set to source directories. Is it possible to do what I want to do? Am I going to go wrong about this? Is there an easier way? Did you...