aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndrew Stubbs <andrew.stubbs@st.com>2005-11-01 11:09:18 +0000
committerAndrew Stubbs <andrew.stubbs@st.com>2005-11-01 11:09:18 +0000
commit1a088d065a1177313c8304095f49b74662eddd04 (patch)
treea2bd89d9f62dec5792fc51653fc701914032e4b0 /gdb/doc
parent0876dd7ea13998eb02dc78feabc078fb13242582 (diff)
downloadgdb-1a088d065a1177313c8304095f49b74662eddd04.zip
gdb-1a088d065a1177313c8304095f49b74662eddd04.tar.gz
gdb-1a088d065a1177313c8304095f49b74662eddd04.tar.bz2
2005-11-01 Andrew Stubbs <andrew.stubbs@st.com>
* event-top.c (gdb_setup_readline): Don't set gdb_stdout when --batch-silent option was given. * main.c (batch_silent): New variable. (captured_main): Add new option --batch-silent. (print_gdb_help): Likewise. doc/ * gdb.texinfo (Choosing modes): Add --batch-silent.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo13
2 files changed, 17 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index ef62488..f62c312 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-01 Andrew Stubbs <andrew.stubbs@st.com>
+
+ * gdb.texinfo (Choosing modes): Add --batch-silent.
+
2005-10-28 Eli Zaretskii <eliz@gnu.org>
* gdb.texinfo (GDB/MI Variable Objects): Fix @pxref usage under
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 0ceb3aa..75ae4ef 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -994,6 +994,19 @@ 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}