[PATCH 05/23] Make target_ops::has_execution take an 'inferior *' instead of a ptid_t

Tom Tromey tom@tromey.com
Mon Sep 9 18:12:00 GMT 2019


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> The current target_ops::has_execution method takes a ptid_t as
Pedro> parameter, which, in a multi-target world, isn't sufficient to
Pedro> identify the target.  This patch prepares to address that, by changing
Pedro> the parameter to an inferior pointer instead.  From the inferior,
Pedro> we'll be able to query its target stack to tell which target is
Pedro> beneath.

This looks good to me.

Tom



More information about the Gdb-patches mailing list