Define KDB_STOPPEDPCB, so that we can access the backtraces of threads running
on other cores.
This commit is contained in:
parent
0dde6c757f
commit
36bc03ee96
@ -33,6 +33,8 @@
|
||||
#include <machine/psl.h>
|
||||
#include <machine/cpufunc.h>
|
||||
|
||||
#define KDB_STOPPEDPCB(pc) &stoppcbs[pc->pc_cpuid]
|
||||
|
||||
static __inline void
|
||||
kdb_cpu_clear_singlestep(void)
|
||||
{
|
||||
|
@ -32,4 +32,7 @@ void platform_mp_init_secondary(void);
|
||||
|
||||
void platform_ipi_send(cpuset_t cpus, u_int ipi);
|
||||
|
||||
/* global data in mp_machdep.c */
|
||||
extern struct pcb stoppcbs[];
|
||||
|
||||
#endif /* !_MACHINE_SMP_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user