[arm] only restore the relevant parts of cpsr in arm debug code

This commit is contained in:
Travis Geiselbrecht
2009-01-19 23:59:16 -08:00
parent 3db8380506
commit 09eeebda43

View File

@@ -92,7 +92,7 @@ FUNCTION(arm_save_mode_regs)
b .
#endif
msr cpsr, r1
msr cpsr_c, r1
bx lr