Fix crash log output on ARM. (#8020)

(cherry picked from commit 43c07a877cd67ede008c51d227723cfc6c7fd896)
This commit is contained in:
Yossi Gottlieb 2020-11-05 15:43:53 +02:00 committed by Oran Agra
parent df32c5a812
commit 1167967014

View File

@ -1201,7 +1201,7 @@ void logRegisters(ucontext_t *uc) {
"R10:%016lx R9 :%016lx\nR8 :%016lx R7 :%016lx\n"
"R6 :%016lx R5 :%016lx\nR4 :%016lx R3 :%016lx\n"
"R2 :%016lx R1 :%016lx\nR0 :%016lx EC :%016lx\n"
"fp: %016lx ip:%016lx\n",
"fp: %016lx ip:%016lx\n"
"pc:%016lx sp:%016lx\ncpsr:%016lx fault_address:%016lx\n",
(unsigned long) uc->uc_mcontext.arm_r10,
(unsigned long) uc->uc_mcontext.arm_r9,