diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 83374a638c..53de4fb67e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-11-18 Joel Brobecker + + * mi/mi-main.c (mi_cmd_list_features): Add "language-options" + to -list-features output. + 2013-11-17 Joel Brobecker * dwarf2expr.h (struct dwarf_expr_context_funcs) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 2750b0a1c5..53bb973b75 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2013-11-18 Joel Brobecker + + * gdb.texinfo (GDB/MI Miscellaneous Commands): Document the new + "language-option" entry in the output of the "-list-features" + command. + 2013-11-15 Tom Tromey * gdb.texinfo (Variables): Note gdb rules for ambiguous cases. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index cfb2cdb3d4..19e9aa54e0 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -35119,6 +35119,9 @@ Indicates support for the @code{-ada-task-info} command. Indicates support for the following commands, all of them related to Ada exceptions: @code{-info-ada-exceptions}, @code{-catch-assert} and @code{-catch-exception}. +@item language-option +Indicates that all @sc{gdb/mi} commands accept the @option{--language} +option (@pxref{Context management}). @end table @subheading The @code{-list-target-features} Command diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index bbf944a0a3..83d524a3af 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)