2002-01-05 Michael Snyder * gdb.texinfo (--pid): Document new command line option (attach). Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.68 diff -p -r1.68 gdb.texinfo *** gdb.texinfo 2002/01/07 09:28:43 1.68 --- gdb.texinfo 2002/01/08 00:12:51 *************** file. *** 937,945 **** Use file @var{file} as a core dump to examine. @item -c @var{number} ! Connect to process ID @var{number}, as with the @code{attach} command ! (unless there is a file in core-dump format named @var{number}, in which ! case @samp{-c} specifies that file as a core dump to read). @item -command @var{file} @itemx -x @var{file} --- 937,949 ---- Use file @var{file} as a core dump to examine. @item -c @var{number} ! @item -pid @ver{number} ! @itemx -p @var{number} ! @cindex @code{--pid} ! @cindex @code{-p} ! Connect to process ID @var{number}, as with the @code{attach} command. ! If there is no such process, @value{GDBN} will attempt to open a core ! file named @var{number}. @item -command @var{file} @itemx -x @var{file}