Source-Changes archive

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

CVS commit: [netbsd-10] src/sys/arch/vax/vax



Module Name:    src
Committed By:   martin
Date:           Tue Mar  4 12:25:51 UTC 2025

Modified Files:
        src/sys/arch/vax/vax [netbsd-10]: vm_machdep.c

Log Message:
Pull up following revision(s) (requested by hans in ticket #1071):

        sys/arch/vax/vax/vm_machdep.c: revision 1.119

vax: explicitly zero AP and FP in the CALLS frame in cpu_lwp_fork()

This prevents a recursive panic when ddb(4) tries to trace the stack
back across cpu_lwp_bootstrap(). The CALLS frame in question is put
in place by cpu_lwp_fork() to make it look as if cpu_lwp_bootstrap()
was called from sret, which is detected by db_dump_stack() but only
if the FP of the frame is also 0.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.118.40.1 src/sys/arch/vax/vax/vm_machdep.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