[PATCH][2.6] hardware breakpoint fix/support for xmon

Jake Moilanen moilanen at austin.ibm.com
Fri Feb 13 07:55:14 EST 2004


Here's a patch to fix hardware breakpoints and add support for LPAR
systems in xmon.

On an SMP system, the breakpoints appeared to have been working for
hitting the breakpoint.  When you exited xmon to continue, you would
instead hit the same breakpoint again.  There were a couple errors for
the check to see if xmon needed to single step over the instruction.

The other problem I was seeing was when breakpoint was cleared on one
CPU, unless the other CPUS were stopped as well, they would not clear
their dabr until they hit xmon.

Thanks,
Jake

-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-2.6-xmon-dabr-fix-1.patch
Type: text/x-patch
Size: 4794 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20040212/85c8f2d6/attachment.bin 


More information about the Linuxppc64-dev mailing list