This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Add new cmd line parameter "--pid" for attach.
Eli Zaretskii wrote:
>
> > Date: Sat, 05 Jan 2002 13:07:42 -0800
> > From: Michael Snyder <msnyder@redhat.com>
> >
> > + @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}.
>
> This seems to describe the new option twice. You probably meant to
> merge the two description parts, and eliminate the second "@item -p".
Actually, I just copied what was there already for the --core option.