Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
To: Don Howard <dhoward@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Doc update
Date: Wed, 31 Oct 2001 04:00:00 -0000	[thread overview]
Message-ID: <Pine.SUN.3.91.1011031135953.7776J-100000@is> (raw)
In-Reply-To: <Pine.LNX.4.33.0110301311170.6867-100000@theotherone>

On Tue, 30 Oct 2001, Don Howard wrote:

> 2001-10-30  Don Howard  <dhoward@redhat.com>
> 
> 	* gdb.texinfo: Added documentation for the behavior of gdb with
> 	input redirected from a file.

Thanks!

This is approved, with the following comments:

> +@value{GDBN} also accepts command input from stdin.  In this mode,
> +normal output goes to stdout and error output goes to stderr.  Errors in
> +a command file supplied on stdin do not terminate execution of the
> +command file -- execution continues with the next command.

The words "stdin", "stdout", and "stderr" should have a @code markup,
since they are C symbols.  In fact, it might be better to replace them
with "standard input" etc., since GDB is used for debugging languages
other than C, so a user might not know what `stdin' is.

> +@example
> +gdb < cmds > log 2>&1
> +@end example
> +
> +(The syntax above will vary depending on the shell used) This example

A period is missing inside the parens.

> +will execute commands from the file @var{cmds}. All output and errors
> +would be directed to @var{log}.

In this case, `cmds' and `log' are not metasyntactic variables, they
are simple file names.  So they should have the @file markup.

Oh, and in the ChangeLog entry, please tell in what node was the
change done, as if the node were a function (i.e. inside parens).


  reply	other threads:[~2001-10-31  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-30 13:27 Don Howard
2001-10-31  4:00 ` Eli Zaretskii [this message]
2001-10-31  9:49   ` Don Howard
2001-10-31 10:47     ` Eli Zaretskii
2001-10-31 11:21       ` Don Howard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SUN.3.91.1011031135953.7776J-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=dhoward@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox