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: 'eval' command with printf-like args, take 2


> Date: Sun, 24 Feb 2008 17:38:55 +0200
> From: "Yakov Lerner" <iler.ml@gmail.com>
> 
>  +  add_cmd ("eval", class_support, eval_command, _("\
> +eval \"printf-like format string\", arg1, arg2, arg3, ..., argn\n\
> +Execute gdb command from a string generated by printf-like format and\n\
>  +arguments."),

The first line of the doc string cannot have commas and periods,
because GDB will stop at the first such character when it displays the
short one-line version of help for a command.

I suggest to modify this as follows:

  +  add_cmd ("eval", class_support, eval_command, _("\
  +Execute command generated by printf-like format and arguments.\n\
  +Usage: eval \"format string\", arg1, arg2, arg3, ..., argn\n\


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