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

John H Rose johnrose at us.ibm.com
Fri Feb 13 08:13:57 EST 2004

I might be confused, but don't these qualify as hardware watchpoints rather
than breakpoints?  Regardless, the patch looks good :)


John Rose
pSeries Linux Development
johnrose at austin.ibm.com
Office: 512-838-0298
Tieline: 678-0298

Jake Moilanen <moilanen at austin.ibm.com>@lists.linuxppc.org on 02/12/2004
02:55:14 PM

Sent by:    owner-linuxppc64-dev at lists.linuxppc.org

To:    linuxppc64-dev at lists.linuxppc.org
Subject:    [PATCH][2.6] hardware breakpoint fix/support for xmon

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.


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc64-dev mailing list