Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

x86 does also have debugging registers:

http://en.wikipedia.org/wiki/X86_debug_register

They can be used from the Windows Kernel Debugger (WinDbg), although I'm not sure if/how Linux-based gdb uses them.



I'm pretty certain that Visual Studio uses those for "memory breakpoints", and that GDB uses those for "hardware watchpoints", to use their respective nomenclature. And these are very handy at times.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: