commit | 065a00b3a461463cca766ac6bb33e3be436397bd | [log] [tgz] |
---|---|---|
author | John Baldwin <jhb@FreeBSD.org> | Tue Mar 22 12:05:43 2022 -0700 |
committer | John Baldwin <jhb@FreeBSD.org> | Tue Mar 22 12:05:43 2022 -0700 |
tree | bb7761b78a3d276940938ce646aecc9b3d46bf0e | |
parent | a3627b54280ba306766f2689fb35442f24c4c313 [diff] |
Add support for hardware breakpoints/watchpoints on FreeBSD/Aarch64. This shares aarch64-nat.c and nat/aarch64-hw-point.c with the Linux native target. Since FreeBSD writes all of the debug registers in one ptrace op, use an unordered_set<> to track the "dirty" state for threads rather than bitmasks of modified registers.