Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50530f5e authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc/xmon: Show the stack protector canary in xmon



This is helpful for debugging stack protector crashes.

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent ed9e84a4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2418,6 +2418,9 @@ static void dump_one_paca(int cpu)
	DUMP(p, __current, "%-*px");
	DUMP(p, kstack, "%#-*llx");
	printf(" %-*s = 0x%016llx\n", 25, "kstack_base", p->kstack & ~(THREAD_SIZE - 1));
#ifdef CONFIG_STACKPROTECTOR
	DUMP(p, canary, "%#-*lx");
#endif
	DUMP(p, saved_r1, "%#-*llx");
	DUMP(p, trap_save, "%#-*x");
	DUMP(p, irq_soft_mask, "%#-*x");