tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

set a watchpoint programatically



Hi

I am tracking a memory corruption problem that pops up on a field of
struct in a chained list. I would like to set a watchpoint on the field,
but the problem is that the structures are added and removed from the
list, and I cannot reproduce reliabily the bug.

Is there a way to programatically set a watchpoint, without having to do
it by hand on ddb prompt? I would add it when a struct is added on the
list, and delete it when a struct is removed.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index