diff options
author | Joel Brobecker <brobecker@adacore.com> | 2013-12-03 10:04:32 +0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2013-12-10 12:12:14 +0100 |
commit | 72bfa06c56ec662b4262cc264f45462ccda6a5d6 (patch) | |
tree | 9bcabf079ddb86d10644ec3e3218cbb8d8fba274 /gdb/mi | |
parent | 94481b8c8f63a2a956d18ac1e6d6134c5334cb24 (diff) | |
download | gdb-72bfa06c56ec662b4262cc264f45462ccda6a5d6.zip gdb-72bfa06c56ec662b4262cc264f45462ccda6a5d6.tar.gz gdb-72bfa06c56ec662b4262cc264f45462ccda6a5d6.tar.bz2 |
GDB/MI: Document support for -exec-run --start in -list-features
This adds "exec-run-start-option" in the output of the -list-features
commands, allowing front-ends to easily determine whether -exec-run
supports the --start option.
gdb/ChangeLog:
* mi/mi-main.c (mi_cmd_list_features): add "exec-run-start-option".
* NEWS: Expand the entry documenting the new -exec-run --start
option to mention the corresponding new entry in the output of
"-list-features".
gdb/doc/ChangeLog:
* gdb.texinfo (GDB/MI Miscellaneous Commands): Document the new
"exec-run-start-option" entry in the output of the "-list-features"
command.
gdb/testsuite/ChangeLog:
* gdb.mi/mi-start.exp: Add test verifying that -list-features
contains "exec-run-start-option".
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 07f1dc1..63456cd 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1818,6 +1818,7 @@ mi_cmd_list_features (char *command, char **argv, int argc) ui_out_field_string (uiout, NULL, "language-option"); ui_out_field_string (uiout, NULL, "info-gdb-mi-command"); ui_out_field_string (uiout, NULL, "undefined-command-error-code"); + ui_out_field_string (uiout, NULL, "exec-run-start-option"); #if HAVE_PYTHON if (gdb_python_initialized) |