Kinsey Moore started a new discussion on cpukit/score/cpu/microblaze/cpu.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841#note_136310 > ( ctx->msr & MICROBLAZE_MSR_C ) ? "C " : "", > ( ctx->msr & MICROBLAZE_MSR_IE ) ? "IE " : "" > ); > + > + const char * esr_ec_txt = "?"; > + int exception_ind = 0; > + int esr_ec = ctx->esr & 0x1f; > + for (;exception_ind < > sizeof(esr_ec_codes)/sizeof(esr_ec_codes[0]);exception_ind++) > + { > + if(esr_ec_codes[exception_ind].id == esr_ec){ > + esr_ec_txt = esr_ec_codes[exception_ind].text; > + } > + } > + printk("ESR: %s\n",esr_ec_txt ); > + printk("PC: %p\n", ctx->r17 ); > + I would recommend applying formatting suggestions, here, too. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841#note_136310 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
