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] > > +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 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev