Subject: CVS commit: src/sys/arch/arm
To: None <source-changes@NetBSD.org>
From: Nick Hudson <skrll@netbsd.org>
List: source-changes
Date: 01/12/2008 20:50:24
Module Name:	src
Committed By:	skrll
Date:		Sat Jan 12 20:50:24 UTC 2008

Modified Files:
	src/sys/arch/arm/arm32: cpuswitch.S locore.S vm_machdep.c
	src/sys/arch/arm/include/arm32: frame.h

Log Message:
Push a switchframe in dumpsys and cpu_switchto, but as dumpsys calls
other funcs a switchframe needs to be a multiple of 8 bytes. Stash sp as
well in the switchframe to bump it to 24bytes.

Setup the switchframe appropriately in cpu_lwp_fork.

Remove savectx - nothing uses it.

All of this make gdb's life much easier when dealing with crash dumps and
live kernels.

Reviewd by chris.


To generate a diff of this commit:
cvs rdiff -r1.50 -r1.51 src/sys/arch/arm/arm32/cpuswitch.S
cvs rdiff -r1.19 -r1.20 src/sys/arch/arm/arm32/locore.S
cvs rdiff -r1.40 -r1.41 src/sys/arch/arm/arm32/vm_machdep.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/arm/include/arm32/frame.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.