aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb.1
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2012-05-09 21:06:13 +0000
committerFrank Ch. Eigler <fche@redhat.com>2012-05-09 21:06:13 +0000
commit3d16a105a6b26ebc4228563fa2ad84e41bc2d7c9 (patch)
treef24b50ec01729242847fe29e6c69aaca12afbc99 /gdb/gdb.1
parent9d198b1e46630ab0cbe79e42abf6227486ec9fec (diff)
downloadgdb-3d16a105a6b26ebc4228563fa2ad84e41bc2d7c9.zip
gdb-3d16a105a6b26ebc4228563fa2ad84e41bc2d7c9.tar.gz
gdb-3d16a105a6b26ebc4228563fa2ad84e41bc2d7c9.tar.bz2
2012-05-09 Frank Ch. Eigler <fche@redhat.com>
* gdb.1: Document -ex option.
Diffstat (limited to 'gdb/gdb.1')
-rw-r--r--gdb/gdb.112
1 files changed, 11 insertions, 1 deletions
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