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.62 diff -p -r1.62 gdb.texinfo *** gdb.texinfo 2001/12/30 03:52:20 1.62 --- gdb.texinfo 2002/01/05 21:10:15 *************** Connect to process ID @var{number}, as w *** 851,856 **** --- 851,867 ---- (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 -pid @ver{number} + @itemx -p @var{number} + @cindex @code{--pid} + @cindex @code{-p} + Use @var{number} as a process ID to attach to. + + @item -p @var{number} + 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} @cindex @code{--command}