[SOLVED] When setting a hardware breakpoint on access, do we need to do it per CPU core?

kd2024

Member
Joined
Apr 6, 2024
Posts
11
I'm testing this on an Arch64 CPU with multiple cores. Say, when in WinDbg I do:

Code:
ba r 1 <addr>

It sets a hardware breakpoint on read/write access to one byte at the <addr>. But does it mean that I'm limiting it only to the current CPU core? If so, how do I set this bp for all the cores?
 
Please start reading the documentation:
On a multiprocessor computer, each processor breakpoint applies to all processors. For example, if the current processor is 3 and you use the command ba e1 MyAddress to put a breakpoint at MyAddress, any processor -- not only processor 3 -- that executes at that address triggers the breakpoint. This holds for software breakpoints as well.
Source: Processor Breakpoints (ba Breakpoints) - Windows drivers
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top