Line 1... |
Line 1... |
This is ./gdb.info, produced by Makeinfo version 3.12f from gdb.texinfo.
|
This is ./gdb.info, produced by makeinfo version 4.0 from gdb.texinfo.
|
|
|
INFO-DIR-SECTION Programming & development tools.
|
INFO-DIR-SECTION Programming & development tools.
|
START-INFO-DIR-ENTRY
|
START-INFO-DIR-ENTRY
|
* Gdb: (gdb). The GNU debugger.
|
* Gdb: (gdb). The GNU debugger.
|
END-INFO-DIR-ENTRY
|
END-INFO-DIR-ENTRY
|
Line 412... |
Line 412... |
if a certain environment variable is set, or a certain file exists, so
|
if a certain environment variable is set, or a certain file exists, so
|
that the delay need not occur when you don't want to run GDB on the
|
that the delay need not occur when you don't want to run GDB on the
|
child. While the child is sleeping, use the `ps' program to get its
|
child. While the child is sleeping, use the `ps' program to get its
|
process ID. Then tell GDB (a new invocation of GDB if you are also
|
process ID. Then tell GDB (a new invocation of GDB if you are also
|
debugging the parent process) to attach to the child process (*note
|
debugging the parent process) to attach to the child process (*note
|
Attach::.). From that point on you can debug the child process just
|
Attach::). From that point on you can debug the child process just
|
like any other process which you attached to.
|
like any other process which you attached to.
|
|
|
On HP-UX (11.x and later only?), GDB provides support for debugging
|
On HP-UX (11.x and later only?), GDB provides support for debugging
|
programs that create additional processes using the `fork' or `vfork'
|
programs that create additional processes using the `fork' or `vfork'
|
function.
|
function.
|