This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RFA: gdb.1 patch for -ex option
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 9 May 2012 12:22:26 -0400
- Subject: RFA: gdb.1 patch for -ex option
Hi -
RFA for borderline obvious patch:
2012-05-09 Frank Ch. Eigler <fche@redhat.com>
* gdb.1: Document -ex option.
diff --git a/gdb/gdb.1 b/gdb/gdb.1
index 8ee4bfd..638f779 100644
--- a/gdb/gdb.1
+++ b/gdb/gdb.1
@@ -33,7 +33,10 @@ gdb \- The GNU Debugger
.I core\c
\&\|]
.RB "[\|" "\-x "\c
-.I cmds\c
+.I file\c
+\&\|]
+.RB "[\|" "\-ex "\c
+.I cmd\c
\&\|]
.RB "[\|" "\-d "\c
.I dir\c
@@ -263,6 +266,13 @@ Execute GDB commands from file \c
\&.
.TP
+.BI "\-ex " "command"\c
+\&
+Execute given GDB \c
+.I command\c
+\&.
+
+.TP
.BI "\-directory=" "directory"\c
.TP
.BI "\-d " "directory"\c