Replace "info-ada-exceptions" by "ada-exceptions" in -list-features
authorJoel Brobecker <brobecker@adacore.com>
Tue, 12 Nov 2013 09:43:44 +0000 (13:43 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Wed, 13 Nov 2013 02:54:05 +0000 (06:54 +0400)
Rather than having -list-features report support for the GDB/MI
commands providing access to Ada exception catchpoints with one entry,
and the GDB/MI command providing the list of Ada exceptions with
a second entry, this patch merges it all within one single entry.
This is OK, because all these commands were added within a short
amount of time, and within the same release cycle; and it reduces
a bit the size of the output.

gdb/ChangeLog:

        * mi/mi-main.c (mi_cmd_list_features): Replace "info-ada-exceptions"
        entry with "ada-exceptions".

gdb/doc/ChangeLog:

        * gdb.texinfo (GDB/MI Miscellaneous Commands): Delete
        the documentation of "info-ada-exceptions" in the output
        of the "-list-features" command.  Add the documentation
        of the "ada-exception" entry instead.

gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/mi/mi-main.c

index 279e3e200f372a1f57fd6e5619dc615d68637737..6c20cce64b986f70f8a78c5bb9bb63064a984a6c 100644 (file)
@@ -1,3 +1,8 @@
+2013-11-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * mi/mi-main.c (mi_cmd_list_features): Replace "info-ada-exceptions"
+       entry with "ada-exceptions".
+
 2013-11-13  Joel Brobecker  <brobecker@adacore.com>
 
        * symfile.c (reread_symbols): Move call to set_objfile_per_bfd
index 2b1384352ec668e86ce3ab6047fbe95e5ccef0dd..968201eb6c0858dbc8f321a4290248cb4b2e09f6 100644 (file)
@@ -1,5 +1,13 @@
+2013-11-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.texinfo (GDB/MI Miscellaneous Commands): Delete
+       the documentation of "info-ada-exceptions" in the output
+       of the "-list-features" command.  Add the documentation
+       of the "ada-exception" entry instead.
+
 2013-11-12  Joel Brobecker  <brobecker@adacore.com>
 
+
        * gdb.texinfo (GDB/MI Miscellaneous Commands): Fix the first
        word of a couple of sentences to start with a capital letter.
 
index de419ea053eae010fddcf90fe64c003d59d450fe..84acd5c0ad7622fff02fce9e1b8191d567e12d1f 100644 (file)
@@ -35080,8 +35080,10 @@ 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 info-ada-exceptions
-Indicates support for the @code{-info-ada-exceptions} 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}.
 @end table
 
 @subheading The @code{-list-target-features} Command
index bf0fce303a122da5696e6a21a4870cdc810a1b37..c3f72210479fc322d84d9a1ec318294a460f1da6 100644 (file)
@@ -1815,7 +1815,7 @@ 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, "info-ada-exceptions");
+      ui_out_field_string (uiout, NULL, "ada-exceptions");
       
 #if HAVE_PYTHON
       if (gdb_python_initialized)
This page took 0.065466 seconds and 4 git commands to generate.