Add support for --start option in -exec-run GDB/MI command.
authorJoel Brobecker <brobecker@gnat.com>
Fri, 4 Oct 2013 08:35:31 +0000 (08:35 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 4 Oct 2013 08:35:31 +0000 (08:35 +0000)
commit5713b9b5c1cb873d65caba98616e3f9d92db11f6
treed799d2878722ee6901a9fa3e86f181542ebc54d9
parentf48ff2a7d3f69653dbf164e03d3397de8f6ba7c0
Add support for --start option in -exec-run GDB/MI command.

gdb/ChangeLog:

        * mi/mi-main.c (run_one_inferior): Add function description.
        Make ARG a pointer to an integer whose value determines whether
        we should "run" or "start" the program.
        (mi_cmd_exec_run): Add handling of the "--start" option.
        Reject all other command-line options.
        * NEWS: Add entry for "-exec-run"'s new "--start" option.

gdb/doc/ChangeLog:

        * gdb.texinfo (GDB/MI Program Execution): Document "-exec-run"'s
        new "--start" option.

gdb/testsuite/ChangeLog:

        * gdb.mi/mi-start.c, gdb.mi/mi-start.exp: New files.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/mi/mi-main.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-start.c [new file with mode: 0644]
gdb/testsuite/gdb.mi/mi-start.exp [new file with mode: 0644]