Turn target_can_execute_reverse into function
authorTom Tromey <tom@tromey.com>
Tue, 29 Sep 2020 01:38:25 +0000 (19:38 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 29 Sep 2020 01:52:21 +0000 (19:52 -0600)
commit05374cfd90b59c62f9230baa19e71a3d9ed27269
tree059e038abb0a1568752db28073eb6ed64ce78177
parent9dccd06e8a4e55adb58d8ebe7f2ed7d9d7dc17de
Turn target_can_execute_reverse into function

This changes target_can_execute_reverse from an object-like macro to
an inline function.

gdb/ChangeLog
2020-09-28  Tom Tromey  <tom@tromey.com>

* mi/mi-main.c (exec_reverse_continue)
(mi_cmd_list_target_features): Update.
* infrun.c (set_exec_direction_func): Update.
* target.c (default_execution_direction): Update.
* reverse.c (exec_reverse_once): Update.
* target.h (target_can_execute_reverse): Now a function.
gdb/ChangeLog
gdb/infrun.c
gdb/mi/mi-main.c
gdb/reverse.c
gdb/target.c
gdb/target.h