]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* mi/mi-main.c (mi_cmd_list_target_features): Add `reverse'
authorMarc Khouzam <marc.khouzam@ericsson.com>
Wed, 1 Sep 2010 19:03:54 +0000 (19:03 +0000)
committerMarc Khouzam <marc.khouzam@ericsson.com>
Wed, 1 Sep 2010 19:03:54 +0000 (19:03 +0000)
       as a feature reported by -list-target-features.

       * gdb.texinfo (GDB/MI Miscellaneous Commands): Document new
       feature `reverse' output by -list-target-features.

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

index 39f997f30c58138b47325d4e9e5bf0dbd71f8373..a1b097acb61e072dfd36a43d449e9b3d4501e970 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-01  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+       * mi/mi-main.c (mi_cmd_list_target_features): Add `reverse'
+       as a feature reported by -list-target-features.
+
 2010-09-01  Joel Brobecker  <brobecker@adacore.com>
 
        * features/Makefile (WHICH): Add rs6000/powerpc-32.
index 368e76362e1cc1271c596c5f4473d62f93c5a069..e892e3965c628a1b62450d39faa4dd89f784714e 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-01  Marc Khouzam  <marc.khouzam@ericsson.com>
+
+       * gdb.texinfo (GDB/MI Miscellaneous Commands): Document new
+       feature `reverse' output by -list-target-features.
+
 2010-08-31  H.J. Lu  <hongjiu.lu@intel.com>
 
        * gdb.texinfo (i386 Features): Remove an extra "@item".
index f0b06ef76768ebc608c4e05a5ea2ca518f5e61db..36552e23e024d87cd947413e31e684da0de15c3c 100644 (file)
@@ -29030,6 +29030,10 @@ Indicates that the target is capable of asynchronous command
 execution, which means that @value{GDBN} will accept further commands
 while the target is running.
 
+@item reverse
+Indicates that the target is capable of reverse execution.
+@xref{Reverse Execution}, for more information.
+
 @end table
 
 @subheading The @code{-list-thread-groups} Command
index 8e84421d0875737b7ef88a2ac5bb871700a432fe..49e913e96accc9e946cde898a5306325fa647f50 100644 (file)
@@ -1700,6 +1700,8 @@ mi_cmd_list_target_features (char *command, char **argv, int argc)
       cleanup = make_cleanup_ui_out_list_begin_end (uiout, "features");      
       if (target_can_async_p ())
        ui_out_field_string (uiout, NULL, "async");
+      if (target_can_execute_reverse)
+       ui_out_field_string (uiout, NULL, "reverse");
       
       do_cleanups (cleanup);
       return;