Debugging Multiple-Processes (forked) Programs
Originally written by
- Suppose that your program tries to
- ...and you run this under gdb.
- What shall gdb do? remain with the parent?
- If it did - how will you debug a forking program when your bug is with
- Not to mention - debugging a daemon?