Erroneous trap number format in spurious trap handler

Joel Sherrill joel.sherrill at OARcorp.com
Mon Mar 9 16:57:11 UTC 2009


LACROIX antoine wrote:
> Hi to all,
>
> A little email to point out that there is a printk format error in the
> spurious trap handler of the erc32/leon2 and leon3 bsps:
>
> printk( "Unexpected trap (0x%2d) at address 0x%08x\n", real_trap,
> isf->tpc);
>
> the trap number is displayed as a decimal but prefixed as a hexadecimal
> number (0x).
>
> I haven't checked the other bsps.
>   
Thanks PR1391 and fixed in 4.8 and newer.
> Antoine
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list