2005-11-07 Andrew Stubbs <andrew.stubbs@st.com>
authorAndrew Stubbs <andrew.stubbs@st.com>
Mon, 7 Nov 2005 13:56:48 +0000 (13:56 +0000)
committerAndrew Stubbs <andrew.stubbs@st.com>
Mon, 7 Nov 2005 13:56:48 +0000 (13:56 +0000)
commit8a5a3c829873c2ec9f0504afbb0b2704da39498a
treeb829d9bee9fadd32800898c6ec18909a72d692cd
parent3b493122437aaa89993fa88518c6980c9e858f38
2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>

* main.c (captured_main): Define struct cmdarg. Change type of cmdarg.
Add new options --eval-command and alias -ex.
Adjust --command to use the new struct cmdarg.
Execute commands given with --eval-command.
(print_gdb_help): Add new options --eval-command, -ex and mention -x.

docs/

* gdb.texinfo (Choosing files): Add --eval-command.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/main.c