$ LD_DEBUG=help /bin/cat
Valid options for the LD_DEBUG environment variable are:
libs display library search paths
reloc display relocation processing
files display progress for input file
symbols display symbol table processing
bindings display information about symbol binding
versions display version dependencies
all all previous options combined
statistics display relocation statistics
unused determined unused DSOs
help display this help message and exit
To direct the debugging output into a file instead of standard output
a filename can be specified using the LD_DEBUG_OUTPUT environment variable.
Wednesday, October 4, 2006
LD_DEBUG: debugging ld.so on linux
David Baraff told me about this awesome way to see what ld.so is doing on linux.
Subscribe to:
Comments (Atom)
-
A while back I answered a question on Stack Overflow asking about the relative popularity of The Art of Computer Programming . I replied wit...
-
First, let's draw a cube: cube(10,true); Now, let's animate a 360 degree turntable view of the cube: rotate([0,0,$...
-
There's a lot of notes written for getting Vim + Go up and running, but a lot of the notes assume you're already in modern Vim-land....