aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2013-11-14 14:57:01 +0400
committerJoel Brobecker <brobecker@adacore.com>2013-11-18 15:34:53 +0400
commit422ad5c296aa6e03596684d6fb40ff10c66ca757 (patch)
tree91425794bbcf0c1b22ee270ed262cc9fe2f637ac /gdb/mi
parent0e7c43d8ec7f4f77cf06ce6e254f8f575d3a9aa2 (diff)
downloadgdb-422ad5c296aa6e03596684d6fb40ff10c66ca757.zip
gdb-422ad5c296aa6e03596684d6fb40ff10c66ca757.tar.gz
gdb-422ad5c296aa6e03596684d6fb40ff10c66ca757.tar.bz2
Add "language-option" to -list-features
Following the addition of the --language optiton to all GDB/MI commands, I realized that there was no easy way for front-ends to figure out whether this features is available or not. So I added a "language-option" entry to -list-features. gdb/ChangeLog: * mi/mi-main.c (mi_cmd_list_features): Add "language-options" to -list-features output. gdb/doc/ChangeLog: * gdb.texinfo (GDB/MI Miscellaneous Commands): Document the new "language-option" entry in the output of the "-list-features" command.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index bbf944a..83d524a 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -1816,6 +1816,7 @@ mi_cmd_list_features (char *command, char **argv, int argc)
ui_out_field_string (uiout, NULL, "breakpoint-notifications");
ui_out_field_string (uiout, NULL, "ada-task-info");
ui_out_field_string (uiout, NULL, "ada-exceptions");
+ ui_out_field_string (uiout, NULL, "language-option");
#if HAVE_PYTHON
if (gdb_python_initialized)