oohtj
Discover new ways of life, Reason based on logic and facts.
2012/05/25
Gdb Cheat Sheet
1 Set gdb to follow fork() or not
set follow-fork-mode parent|child
2 If want to debug both parent and child process (default is on)
set detach-on-fork off
3 Switch between parent and child process
info inferiors
inferior #inferior_number
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment