This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[doc patch] Describe also option -ex, not just -x
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 25 Feb 2012 14:28:42 +0100
- Subject: [doc patch] Describe also option -ex, not just -x
Hi Eli,
I have found -ex is forgotten in this node.
Thanks,
Jan
gdb/doc/
2012-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.texinfo (Startup): Add option -ex description to the option -x
description.
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -1277,8 +1277,9 @@ $ gdb -ex "set auto-load-scripts off" myprogram
@end smallexample
@item
-Reads command files specified by the @samp{-x} option. @xref{Command
-Files}, for more details about @value{GDBN} command files.
+Execute commands and command files specified by the @samp{-ex} and
+@samp{-x} options in their specified order. @xref{Command Files}, for
+more details about @value{GDBN} command files.
@item
Reads the command history recorded in the @dfn{history file}.