mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
Make breakpoint() actually break into ddb.
Reviewed by: grehan
This commit is contained in:
parent
d214f02991
commit
67e945bab9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123352
@ -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