This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Add new cmd line parameter "--pid" for attach.


> Date: Mon, 07 Jan 2002 11:02:50 -0800
> From: Michael Snyder <msnyder@redhat.com>
> > 
> >    @item -core @var{file}
> >    @itemx -c @var{file}
> >    @cindex @code{--core}
> >    @cindex @code{-c}
> >    Use file @var{file} as a core dump to examine.
> > 
> > This doesn't describe --core twice, and doesn't use @item -c twice.
> 
> Look at the next lines after that.

You mean, this?

    @item -c @var{number}
    Connect to process ID @var{number}, as with the @code{attach} command

If so, it's not entirely the same: the first -c says "-c FILE", the
second says "-c NUMBER".  In your case, both say "-p NUMBER", so I
think it's confusing to have both of them.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]