mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
powerpc: Print trap frame address in ddb backtraces
Registers visible from 'show reg' don't always match the registers from the offending trap frame. Knowing the frame address lets one examine the registers manually. MFC after: 1 week
This commit is contained in:
parent
66306e6acd
commit
093f7de620
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344961
@ -277,7 +277,7 @@ db_backtrace(struct thread *td, db_addr_t fp, int count)
|
||||
if (tf->exc == EXC_DSI)
|
||||
db_printf(" sr=%#x",
|
||||
(uint32_t)tf->cpu.aim.dsisr);
|
||||
db_printf("\n");
|
||||
db_printf(" frame=%p\n", tf);
|
||||
stackframe = (db_addr_t) tf->fixreg[1];
|
||||
if (kernel_only && (tf->srr1 & PSL_PR))
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user