Re: [PATCH v3] gdb: improve usage strings

Pedro Alves
2012-08-23T16:45:50Z

On 08/23/2012 12:11 PM, Pedro Alves wrote:
> On 08/14/2012 06:34 PM, Doug Evans wrote:
>>>
>>> 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 with the specified signal.\n\
>>> +Usage: signal SIGNAL\n\
>>> +The SIGNAL arugment is processed the same as the handle command.\n\
> ^^^^^^^^
>
> Typo.

Fixed.

2012-08-23 Pedro Alves <palves@redhat.com>

* infcmd.c (_initialize_infcmd) <signal command>: Fix typo in help
string.

---

gdb/infcmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 8300182..9d43193 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -3019,7 +3019,7 @@ all targets."));
c = add_com ("signal", class_run, signal_command, _("\
Continue program with the specified signal.\n\
Usage: signal SIGNAL\n\
-The SIGNAL arugment is processed the same as the handle command.\n\
+The SIGNAL argument is processed the same as the handle command.\n\
\n\
An argument of \"0\" means continue the program without sending it a signal.\n\
This is useful in cases where the program stopped because of a signal,\n\