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

Tom Tromey
2020-10-12T17:21:33Z

>>>>> "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