[PATCH 5/8] Turn target_can_execute_reverse into function-like macro

Christian Biesinger cbiesinger@google.com
Tue Jul 21 17:07:43 GMT 2020


On Mon, Jul 20, 2020 at 8:49 PM Tom Tromey <tom@tromey.com> wrote:
>
> This changes target_can_execute_reverse from an object-like macro to a
> function-like macro.

Since there's only a few callers, and the implementation is simple,
why not remove the macro and call current_top_target
()->can_execute_reverse () directly? That makes this global variable
access more obvious.

Christian


More information about the Gdb-patches mailing list