Make breakpoint() actually break into ddb.
Reviewed by: grehan
This commit is contained in:
parent
d214f02991
commit
67e945bab9
@ -47,16 +47,17 @@ powerpc_mb(void)
|
||||
|
||||
struct thread;
|
||||
|
||||
#ifdef __GNUC__
|
||||
#ifdef DDB
|
||||
void ddb_trap(void);
|
||||
#endif
|
||||
|
||||
static __inline void
|
||||
breakpoint(void)
|
||||
{
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef DDB
|
||||
ddb_trap();
|
||||
#endif
|
||||
}
|
||||
|
||||
/* CPU register mangling inlines */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user