From 688981c916d18c0f6000f54a4116ddb6b93b799a Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 3 Dec 2013 08:35:13 +0400 Subject: [PATCH] Remove "ada-exceptions" from -list-features output. Now that the -info-gdb-mi-command is available, there is no need for this entry. The entry and associated new commands were added recently enough that no front-end out there should be depending on it yet. gdb/ChangeLog: * mi/mi-main.c (mi_cmd_list_features): Remove "ada-exceptions". gdb/doc/ChangeLog: * gdb.texinfo (GDB/MI Miscellaneous Commands): Remove the documentation of the "ada-exceptions" entry. --- gdb/ChangeLog | 4 ++++ gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 4 ---- gdb/mi/mi-main.c | 1 - 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c37cf20..30e2a1b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2013-12-03 Joel Brobecker + * mi/mi-main.c (mi_cmd_list_features): Remove "ada-exceptions". + +2013-12-03 Joel Brobecker + * mi/mi-main.c: Remove trailing spaces throughout. 2013-12-03 Pedro Alves diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index fdb05c5..4080bb9 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,10 @@ 2013-12-03 Joel Brobecker + * gdb.texinfo (GDB/MI Miscellaneous Commands): Remove the + documentation of the "ada-exceptions" entry. + +2013-12-03 Joel Brobecker + * gdb.texinfo (GDB/MI Result Records): Fix the syntax of the "^error" result record concerning the error message. Document the error code that may also be part of that result record. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 75633c9..2602427 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -35204,10 +35204,6 @@ Indicates that changes to breakpoints and breakpoints created via the CLI will be announced via async records. @item ada-task-info Indicates support for the @code{-ada-task-info} command. -@item ada-exceptions -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}). diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index f35206a..07f1dc1 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1815,7 +1815,6 @@ mi_cmd_list_features (char *command, char **argv, int argc) ui_out_field_string (uiout, NULL, "data-read-memory-bytes"); 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"); ui_out_field_string (uiout, NULL, "info-gdb-mi-command"); ui_out_field_string (uiout, NULL, "undefined-command-error-code"); -- 2.7.4