x86-nat: Use an unordered_map to store per-pid debug reg state.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Mar 2022 19:05:43 +0000 (12:05 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 22 Mar 2022 19:05:43 +0000 (12:05 -0700)
commit922c2fc18e4de33d24b6ba3b7b6e8732209a5e69
tree6f537c8602925864395551bedc90c19c52cd0152
parent711b0b6698ff6350b7c61710491c76c749945d4a
x86-nat: Use an unordered_map to store per-pid debug reg state.

This replaces a manual linked list which used O(n) lookup and removal.
gdb/x86-nat.c