Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew STUBBS <andrew.stubbs@st.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb@sources.redhat.com
Subject: Re: RFC: GDB as a loader 1/3: silent batch mode
Date: Fri, 28 Oct 2005 09:52:00 -0000	[thread overview]
Message-ID: <4361F3E3.9070701@st.com> (raw)
In-Reply-To: <ull0eeprm.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 700 bytes --]

Eli Zaretskii wrote:
> Thanks.  This is approved, provided that you fix the minor problems
> mentioned below.

OK, updated patch attached.

Out of interest, why does 'GDB' have to be '@value{GDBN}'? What does 
that do?

I can create the info file fine, but the PDF has errors. The only thing 
I can see wrong with the produced file is that the index is missing. Is 
this a known problem or am I using the wrong version of something? I 
have Texinfo 4.5.

Still nobody has given an opinion on any of the three patches I sent 
adding new options. What do you want to do with them? Do we know if 
Daniel is back from holiday yet?

I'll do the docs for the other two options soon.

Thanks

Andrew Stubbs

[-- Attachment #2: batch-silent-docs.patch --]
[-- Type: text/plain, Size: 1066 bytes --]

2005-10-28  Andrew Stubbs  <andrew.stubbs@st.com>

	* gdb.texinfo (Choosing modes): Add --batch-silent.

Index: src/gdb/doc/gdb.texinfo
===================================================================
--- src.orig/gdb/doc/gdb.texinfo	2005-10-27 18:49:39.000000000 +0100
+++ src/gdb/doc/gdb.texinfo	2005-10-28 10:37:07.000000000 +0100
@@ -994,6 +994,18 @@ Program exited normally.
 @value{GDBN} control terminates) is not issued when running in batch
 mode.
 
+@item -batch-silent
+@cindex @code{--batch-silent}
+Run in batch mode exactly like @samp{-batch}, but totally silently. All
+@value{GDBN} output to @code{stdout} is prevented (@code{stderr} is
+unaffected).  This is much quieter than @samp{-silent} and would be useless
+for an interactive session.
+
+This is particularly useful when using targets that give @samp{Loading section} messages, for example.
+
+Note that targets that give their output via @value{GDBN}, as opposed to
+writing directly to @code{stdout}, will also be made silent.
+
 @item -nowindows
 @itemx -nw
 @cindex @code{--nowindows}

  reply	other threads:[~2005-10-28  9:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18 11:28 Andrew STUBBS
2005-10-19 19:58 ` Eli Zaretskii
2005-10-21 14:26   ` Andrew STUBBS
2005-10-21 14:54     ` Eli Zaretskii
2005-10-21 15:42       ` Andrew STUBBS
2005-10-21 16:42         ` Daniel Jacobowitz
2005-10-21 17:06           ` Andrew STUBBS
2005-10-21 22:04         ` Eli Zaretskii
2005-10-27 17:57   ` Andrew STUBBS
2005-10-27 19:14     ` Eli Zaretskii
2005-10-28  9:52       ` Andrew STUBBS [this message]
2005-10-28 12:49         ` Eli Zaretskii
2005-10-28 14:01           ` Andrew STUBBS
2005-10-28 17:23             ` Eli Zaretskii
2005-10-28 17:35               ` Andrew STUBBS
2005-10-29  9:52                 ` Eli Zaretskii
2005-10-28 20:38               ` Daniel Jacobowitz
2005-10-29 10:32                 ` Eli Zaretskii
2005-10-28 20:40           ` Daniel Jacobowitz
2005-10-28 20:47 ` Daniel Jacobowitz

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=4361F3E3.9070701@st.com \
    --to=andrew.stubbs@st.com \
    --cc=eliz@gnu.org \
    --cc=gdb@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