]> 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:16:00 +0000 (19:16 +0000)
committerMarc Khouzam <marc.khouzam@ericsson.com>
Wed, 1 Sep 2010 19:16:00 +0000 (19:16 +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 96b61826bf403460e5d6ac5a1e24a1bd87f20a8c..6b0a925e4efca271988589bfb1c0027bf67c70cd 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-08-31  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
 
        * infrun.c (set_exec_direction_func): Error out if target does not
index 448c43597742593d8bb7fd52ca6d64fd6d9089c6..71c605c92bffeb097e5d85e0e61a97b3464495a1 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-18  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
        * gdb.texinfo (PowerPC Embedded): Mention support for the DVC register.
index 708a5d5bfa25da2694a2bc5c22ef37430c963f97..65d4899fd5d184d8bd80df6143d71cf54b9e13fb 100644 (file)
@@ -28748,6 +28748,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 95a0bc5991a712132345a90103f626ed5af0f41d..b9964753b65a5931f986ad1cf5d8ec793c796408 100644 (file)
@@ -1579,6 +1579,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;