2005-10-27 Andrew Stubbs * gdb.texinfo (Choosing modes): Add --batch-silent. Index: src/gdb/doc/gdb.texinfo =================================================================== --- src.orig/gdb/doc/gdb.texinfo 2005-10-03 23:26:54.000000000 +0100 +++ src/gdb/doc/gdb.texinfo 2005-10-27 18:33:24.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 GDB +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 GDB, as opposed to writing +directly to @code{stdout}, will also be made silent. + @item -nowindows @itemx -nw @cindex @code{--nowindows}