存档

2010年11月 的存档

为KGDB 增加watchpoint断点支持 on x86

2010年11月18日 2 条评论

the watchpoint of kgdb 大致流程为:

A:using gdb to set a watchpoint

B:send out a set watchpoint protocol packet to kgdb from gdb
C:kgdb receive/parse the protocol packet

D:kgdb set a watchpoint hardware breakpoint on kernel

E:Once kernel hit a watchpoint breakpoint, kgdb will collect the watchpoint breakpoint
info, fill them to a Stop-Reply-Packets with watchpoint format, and send out to gdb

分类: kgdb, 深入kgdb 标签: ,