svn commit: r254847 - head/sys/arm/arm
Andrew Turner
andrew at FreeBSD.org
Sun Aug 25 11:23:39 UTC 2013
Author: andrew
Date: Sun Aug 25 11:23:38 2013
New Revision: 254847
URL: http://svnweb.freebsd.org/changeset/base/254847
Log:
Add the frame information to cpu_switch to allow us to unwind out of it,
for example when dumping threads in the kernel debugger.
Modified:
head/sys/arm/arm/swtch.S
Modified: head/sys/arm/arm/swtch.S
==============================================================================
--- head/sys/arm/arm/swtch.S Sun Aug 25 11:21:10 2013 (r254846)
+++ head/sys/arm/arm/swtch.S Sun Aug 25 11:23:38 2013 (r254847)
@@ -218,6 +218,11 @@ END(cpu_throw)
ENTRY(cpu_switch)
stmfd sp!, {r4-r7, lr}
sub sp, sp, #4;
+#ifdef __ARM_EABI__
+ .save {r4-r7, lr}
+ .pad #4
+#endif
+
mov r6, r2 /* Save the mutex */
.Lswitch_resume:
More information about the svn-src-all
mailing list