Make breakpoint() actually break into ddb.

Reviewed by: grehan
This commit is contained in:
Andrew Gallatin 2003-12-09 13:37:31 +00:00
parent d214f02991
commit 67e945bab9

View File

@ -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 */