This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH v2] gdb: improve usage strings


On Monday 13 August 2012 16:28:42 Doug Evans wrote:
> On Sun, Aug 12, 2012 at 7:05 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> > [...]
> > --- a/gdb/infcmd.c
> > +++ b/gdb/infcmd.c
> >  
> >    c = add_com ("signal", class_run, signal_command, _("\
> > -Continue program giving it signal specified by the argument.\n\
> > -An argument of \"0\" means continue program without giving it a
> > signal."));
> > +Continue program and simultaneously send it the specified signal.\n\
> > +Usage: signal SIGNAL\n\
> > +An argument of \"0\" means continue the program without sending it a
> > signal."));
> > 
> >    set_cmd_completer (c, signal_completer);
> 
> That's ok I guess.  How about "Continue program with the specified signal."

i can live with that

> An argument of "0" means continue the program without sending it a signal.
> This is useful in cases where the program stopped because of a signal,
> and you want to resume the program and discard the signal.

s/discard/ignore/ ?  although people might confuse that with SIG_IGN.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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