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: [RFA 12/12] Update help text in record.c


On 04/30/2018 03:37 PM, Tom Tromey wrote:

> diff --git a/gdb/record.c b/gdb/record.c
> index d7befb2a74..4ecfc8f418 100644
> --- a/gdb/record.c
> +++ b/gdb/record.c
> @@ -822,8 +822,8 @@ A size of \"unlimited\" means unlimited lines.  The default is 10."),
>  
>    c = add_cmd ("save", class_obscure, cmd_record_save,
>  	       _("Save the execution log to a file.\n\
> -Argument is optional filename.\n\
> -Default filename is 'gdb_record.<process_id>'."),
> +Usage: record save [FILENAME]\n\
> +Default filename is 'gdb_record.PROCESS_ID'."),

Same as in the other patch, about PROCESS_ID not being user
input here.

Otherwise OK.

Thanks,
Pedro Alves


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