Linux kernel hardware break points
问题 I want to build a simple linux kernel debugger for the x86 architecture. I first want it to set break points. I was wondering if there is a kernel api for configuring the debugger registers and if so any good documentation? If there is no kernel api for debugger registers is there any documentation on how to properly configure the registers manually(using the assembly "MOV" instruction)? 回答1: It depends on which kernel versions you would like to handle. There is an API for setting hardware