From 3d16a105a6b26ebc4228563fa2ad84e41bc2d7c9 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 9 May 2012 21:06:13 +0000 Subject: [PATCH] 2012-05-09 Frank Ch. Eigler * gdb.1: Document -ex option. --- gdb/ChangeLog | 4 ++++ gdb/gdb.1 | 12 +++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 63627c5fa56..df3496dd64d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-05-09 Frank Ch. Eigler + + * gdb.1: Document -ex option. + 2012-05-09 Joel Brobecker * infcall.c (call_function_by_hand): Remove AT_SYMBOL handling. diff --git a/gdb/gdb.1 b/gdb/gdb.1 index 8ee4bfdf081..638f779ba28 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 @@ -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 -- 2.30.2