summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c b/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c
index 0f4121d6d2..251d47a46d 100644
--- a/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c
+++ b/c/src/lib/libbsp/powerpc/beatnik/startup/bspclean.c
@@ -8,6 +8,12 @@ void bsp_fatal_extension(
rtems_fatal_code error
)
{
+ printk("fatal source: %s\n", rtems_fatal_source_text(source));
+
+ if (source == RTEMS_FATAL_SOURCE_EXCEPTION) {
+ rtems_exception_frame_print((const rtems_exception_frame *) error);
+ }
+
/* We can't go back to MotLoad since we blew it's memory area
* and vectors. Just pull the reset line...
*/