Gdb: Difference between revisions

No edit summary
No edit summary
 
Line 9: Line 9:
* Export <tt>LD_BIND_NOW=1</tt> to force early symbol binding. This eliminates annoying dl code when resolving the [[ELF|.plt section]]
* Export <tt>LD_BIND_NOW=1</tt> to force early symbol binding. This eliminates annoying dl code when resolving the [[ELF|.plt section]]
* Use <tt>set follow-fork-mode child</tt> to follow the child of <tt>fork</tt>/<tt>vfork</tt>
* Use <tt>set follow-fork-mode child</tt> to follow the child of <tt>fork</tt>/<tt>vfork</tt>
==Stacktraces==
* Stacktrace of all threads -- <tt>thread apply all bt</tt>