2012-05-09 Frank Ch. Eigler <fche@redhat.com>
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 9 May 2012 21:06:13 +0000 (21:06 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 9 May 2012 21:06:13 +0000 (21:06 +0000)
* gdb.1: Document -ex option.

gdb/ChangeLog
gdb/gdb.1

index 63627c5fa5616627478321f9fc073b18f8f121e9..df3496dd64dcc4f2e143b64f2266cc7fcb6069a6 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-09  Frank Ch. Eigler  <fche@redhat.com>
+
+       * gdb.1: Document -ex option.
+
 2012-05-09  Joel Brobecker  <brobecker@adacore.com>
 
        * infcall.c (call_function_by_hand): Remove AT_SYMBOL handling.
index 8ee4bfdf08199473b3c6bb71ac41e330724c7d48..638f779ba28f1921c9474198d24a97a897f82936 100644 (file)
--- 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
@@ -262,6 +265,13 @@ Execute GDB commands from file \c
 .I file\c
 \&.  
 
+.TP
+.BI "\-ex " "command"\c
+\&
+Execute given GDB \c
+.I command\c
+\&.
+
 .TP
 .BI "\-directory=" "directory"\c
 .TP