]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
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>
Fri, 27 May 2022 21:17:34 +0000 (14:17 -0700)
commit907d277ba5ff4ce0717dcfbf36699b0cbd2a5308
treeb4713d21952b4a2e730911cfced0089a1ade91d8
parent260ff4143afe85e28d179a035b719128cea2db6c
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.

(cherry picked from commit 922c2fc18e4de33d24b6ba3b7b6e8732209a5e69)
gdb/x86-nat.c