Re: [PATCH v2] gdb: improve usage strings

Mike Frysinger
2012-08-14T05:13:16Z

[-- Attachment #1: Type: Text/Plain, Size: 1072 bytes --]

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 #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]