Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/sh3/sh3
Module Name: src
Committed By: ryo
Date: Thu May 9 16:48:31 UTC 2019
Modified Files:
src/sys/arch/sh3/sh3: db_trace.c
Log Message:
fix backtrace. it was broken.
- use db_read_bytes() to avoid faults.
- quite a few functions do not use frame pointers,
therefore always detect stack depth without a frame pointer.
however, since the framepointer(=r14) is used as a trapframe,
the code to detect the frame pointer is still needed.
- dump the contents of trapframe during backtracing.
- KNF
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/sh3/sh3/db_trace.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index