Sam Price commented on a discussion on cpukit/score/cpu/microblaze/cpu.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841#note_136933

 >      ( 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 );
 > +

tried applying clang tidy file, im running an older version of clang tidy, 
unable to use official one.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/841#note_136933
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

Reply via email to