Setting kernel data breakpoints on x86

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

 



I'm trying to debug a rather difficult data-overwriting problem, and it 
would be a big help to be able to use a data breakpoint.

Is there any easy way of doing this?  I'd prefer not to use a kernel 
debugger, because the address of the breakpoint and the time when it's 
needed are determined dynamically.

Does anybody have a little lightweight procedure for setting one of the 
x86's debug registers to point to a particular location in kernel memory 
space?  I don't care if the whole system crashes when the debug exception 
occurs, just so long as I can get a stack trace and find out where the 
overwrite comes from.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux