How to set a hardware watchpoint in dbx?
-
18-06-2021 - |
Question
I need to detect when some memory changes in dbx on Solaris. I know in gdb that I would do this with watch <memoryLocation>
. However, I am using dbx at the moment, so I need to know how to set a hardware watchpoint in dbx. What is the dbx command to set a hardware watchpoint?
Solution
I think your question is answered here: How do you put a breakpoint on a memory location in dbx?
It's the same for C and C++.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow