This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][TEST-CASE][DOC] Implementation of pipe to pass GDB's command output to the shell.
On Tuesday 30 August 2011 14:58:02, Abhijit Halder wrote:
> +@table @code
> +@item pipe @var{args}
I suggest writing this as something like:
@item pipe @var{delim} @var{gdbcmd} @var{delim} @var{shellcmd}
and then adjust the text a bit to refer to the variables by name.
The syntax is more immediately obvious this way.
> +The @var{args} consists of a delimiter followed by a @value{GDBN} command,
> +followed by the same delimiter and finally a shell command. The delimiter is a
> +string of arbitrary length, containing no whitespace and no leading '-', acts
> +as a separator between a @value{GDBN} command and a shell command. The shell
> +command should be in compliance with the syntax of the default shell.
> +@end table
--
Pedro Alves