gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 19 Mar 2012 18:19:26 +0000 (18:19 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 19 Mar 2012 18:19:26 +0000 (18:19 +0000)
commit8320cc4fa3784dc5296745898de5357559f8125a
tree0e1f2bded27be2397ac4a559118b7e25b34a1352
parent26743505e35f0442b8db1848140d2e3d475fa736
gdb/
* NEWS: Describe new options --init-command=FILE, -ix and
--init-eval-command=COMMAND, -iex.
* main.c (struct cmdarg): New enum items CMDARG_INIT_FILE and
CMDARG_INIT_COMMAND.
(captured_main): New enum items OPT_IX and OPT_IEX.  Add
"init-command", "init-eval-command", "ix" and "iex" to the variable
long_options.  Handle OPT_IX and OPT_IEX.  Process them from CMDARG_VEC.
New comment for CMDARG_FILE and CMDARG_COMMAND processing.
(print_gdb_help): Describe --init-command=FILE, -ix and
--init-eval-command=COMMAND, -iex.

gdb/doc/
* gdb.texinfo (File Options): Describe --init-command=FILE, -ix and
--init-eval-command=COMMAND, -iex.
(Startup): Describe -iex and -ix.  Simplify the example
for "set auto-load-scripts off".

gdb/testsuite/
* gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
for cmdarg_vec = NULL.  Remove entries for cmdsize = 1, cmdarg = and
ncmd = 0.  New entry for VEC_cleanup cmdarg_s.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/main.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.gdb/selftest.exp