manpagez: man pages & more
info gdb
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.8 Killing the Child Process


Kill the child process in which your program is running under No value for GDBN.

This command is useful if you wish to debug a core dump instead of a running process. No value for GDBN ignores any core dump file while your program is running.

On some operating systems, a program cannot be executed outside No value for GDBN while you have breakpoints set on it inside No value for GDBN. You can use the kill command in this situation to permit running your program outside the debugger.

The kill command is also useful if you wish to recompile and relink your program, since on many systems it is impossible to modify an executable file while it is running in a process. In this case, when you next type run, No value for GDBN notices that the file has changed, and reads the symbol table again (while trying to preserve your current breakpoint settings).

© 2000-2021
Individual documents may contain additional copyright information.