summaryrefslogtreecommitdiff
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
commit719312e4400a8c7168f2f3da1a20101107f2031b (patch)
treedf90bf0907fe8165a428e33f34525d94b08a69ca /gdb/doc
parent09921af02d10357f3db41d2752de3b8abbc156bb (diff)
downloadgdb-719312e4400a8c7168f2f3da1a20101107f2031b.tar.gz
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 ef6248807eb..f62c31230cf 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 0ceb3aa5b36..75ae4ef7f07 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}