diff options
Diffstat (limited to 'gdb/mi/mi-main.c')
-rw-r--r-- | gdb/mi/mi-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 99da554..c5c7be7 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -321,7 +321,7 @@ exec_reverse_continue (char **argv, int argc) if (dir == EXEC_REVERSE) error (_("Already in reverse mode.")); - if (!target_can_execute_reverse) + if (!target_can_execute_reverse ()) error (_("Target %s does not support this command."), target_shortname); scoped_restore save_exec_dir = make_scoped_restore (&execution_direction, @@ -1684,7 +1684,7 @@ mi_cmd_list_target_features (const char *command, char **argv, int argc) ui_out_emit_list list_emitter (uiout, "features"); if (mi_async_p ()) uiout->field_string (NULL, "async"); - if (target_can_execute_reverse) + if (target_can_execute_reverse ()) uiout->field_string (NULL, "reverse"); return; } |