Properly implement kdb_cpu_{set|clear}_singlestep to allow DDB to

continue from breakpoints.
This commit is contained in:
Peter Grehan 2004-07-27 07:06:20 +00:00
parent 74fa1336d6
commit e60a36f564

View File

@ -30,15 +30,19 @@
#define _MACHINE_KDB_H_
#include <machine/cpufunc.h>
#include <machine/frame.h>
#include <machine/psl.h>
static __inline void
kdb_cpu_clear_singlestep(void)
{
kdb_frame->srr1 &= ~PSL_SE;
}
static __inline void
kdb_cpu_set_singlestep(void)
{
kdb_frame->srr1 |= PSL_SE;
}
static __inline void