Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc/sys/arch/sh5/sh5



Module Name:    syssrc
Committed By:   scw
Date:           Fri Oct 18 09:16:14 UTC 2002

Modified Files:
        syssrc/sys/arch/sh5/sh5: db_trace.c

Log Message:
Add code to support tracing back through a stackframe which was created
using a "movi imm, Rn / sub R15, RN, R15" pair. This is how the compiler
creates frames which are too big to fit in the immediate field of "addi";
something which happens a lot with -O0 ...

While I'm here, add a simple heuristic to detect infinite loops caused by
tracing back through some non-leaf asm routines which don't set up frames.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/sh5/sh5/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