aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorMarc Khouzam <marc.khouzam@ericsson.com>2010-09-01 19:03:54 +0000
committerMarc Khouzam <marc.khouzam@ericsson.com>2010-09-01 19:03:54 +0000
commitf75d858b7cb8240de60f8cff95902139453bcd40 (patch)
tree463468e812ace998be96059cc94e0324adee969c /gdb/mi
parent8ed54b31b39a8a3ed6a540c9c4019c19932adfdb (diff)
downloadgdb-f75d858b7cb8240de60f8cff95902139453bcd40.zip
gdb-f75d858b7cb8240de60f8cff95902139453bcd40.tar.gz
gdb-f75d858b7cb8240de60f8cff95902139453bcd40.tar.bz2
* mi/mi-main.c (mi_cmd_list_target_features): Add `reverse'
as a feature reported by -list-target-features. * gdb.texinfo (GDB/MI Miscellaneous Commands): Document new feature `reverse' output by -list-target-features.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 8e84421..49e913e 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -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;