Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Applications > Developer Suite > Issue <<  9 of 22 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 4883
Last update: 01-24-05
Issue:
How does one debug a fork()'d program in ddd? In theory you can change the GDB options to follow the child instead of the parent, but that does not seem to change anything (it always follows the parent).
Resolution:
By default, ddd will follow the parent process instead of the child process. It is possible to use ddd to follow the child process, but some additional steps are needed.

The best explanation I have found so far is at: http://www.cs.toronto.edu/~maclean/csc209/ddd-gdb-children.html


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Applications > Developer Suite > Issue <<   9  of  22  >>