[PATCH 7/7] Reset Windows hardware breakpoints on executable's entry point

Tom Tromey tom@tromey.com
Mon Oct 12 17:21:27 GMT 2020


>>>>> "Pedro" == Pedro Alves via Gdb-patches <gdb-patches@sourceware.org> writes:

>> +/* Per-inferior data key.  */
>> +static const struct inferior_key<windows_info> windows_inferior_data;

Pedro> This should be program_space_key / per-program_space data, instead of
Pedro> per-inferior data.

I didn't really read this patch, but couldn't this also use
inferior::priv?  That seems to be what remote.c and darwin-nat.c do for
data that is target-specific but also related to a particular inferior.

Tom


More information about the Gdb-patches mailing list