commit | 4eaddb4d7ec380abe95523ba0bdbbe8558f7fef4 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Wed Apr 09 16:15:40 2008 -0500 |
committer | Kumar Gala <galak@kernel.crashing.org> | Thu Apr 17 01:01:40 2008 -0500 |
tree | fa7b3d5f464185b8c05fa4defeff98abee5c8a45 | |
parent | 3dd82a1ea72438a545634b3ef90c53313d2caffa [diff] |
[POWERPC] Make Book-E debug handling SMP safe global_dbcr0 needs to be a per cpu set of save areas instead of a single global on all processors. Also, we switch to using DBCR0_IDM to determine if the user space app is being debugged as its a more consistent way. In the future we should support features like hardware breakpoint and watchpoints which will have DBCR0_IDM set but not necessarily DBCR0_IC (single step). Signed-off-by: Kumar Gala <galak@kernel.crashing.org>