Unbreak kernel breakpoints, broken for ~4 years now
When committing DTrace in 2012/2013 era I inadvertently broke breakpoints, by setting EXC_DTRACE to the same value as BKPT_INST. Change EXC_DTRACE to a different, yet logically identical, trap (tw <all>,31,31). MFC after: 2 weeks
This commit is contained in:
parent
bad52b1658
commit
b3ae819e0a
@ -126,7 +126,7 @@
|
||||
#define EXC_PGM_TRAP (1UL << 17)
|
||||
|
||||
/* DTrace trap opcode. */
|
||||
#define EXC_DTRACE 0x7c810808
|
||||
#define EXC_DTRACE 0x7ffff808
|
||||
|
||||
/* Magic pointer to store TOC base and other info for trap handlers on ppc64 */
|
||||
#define TRAP_GENTRAP 0x1f0
|
||||
|
Loading…
x
Reference in New Issue
Block a user