문제

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?

도움이 되었습니까?

해결책

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++.

다른 팁

dbx is the standard debugger on Solaris and AIX; these debuggers are different, and you didn't say which one you are actually using.

This Google query produces an answer for Solaris and AIX.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top