Thread (7 messages) 7 messages, 3 authors, 2009-09-23

Re: [PATCH 2/2] powerpc/44x: Fix xmon single step on PowerPC 44x

From: David Gibson <hidden>
Date: 2009-09-23 23:22:58

On Thu, Sep 24, 2009 at 07:34:34AM +1000, Benjamin Herrenschmidt wrote:
On Wed, 2009-09-23 at 09:51 -0400, Josh Boyer wrote:
[snip]
quoted
+static int do_step(struct pt_regs *regs)
+{
+	regs->msr |= MSR_DE;
+	mtspr(SPRN_DBCR0, mfspr(SPRN_DBCR0) | DBCR0_IC | DBCR0_IDM);
I'm not sure about setting IDM... Won't that be a problem if you have
an external debugger connected ?
Not in theory.  It should be possible to set both IDM and EDM
simultaneously.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help