On 02/15/2014 03:56 PM, Peter Dufault wrote:
(gdb) where #0 bsp_reset () at ../../../../../../../../rtems/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspreset.c:35 #1 0x00020958 in _User_extensions_Iterate (arg=arg@entry=0x21015658, visitor=0x208cc <_User_extensions_Fatal_visitor>) at ../../../../../../rtems/c/src/../../cpukit/score/src/userextiterate.c:141 #2 0x0001e2a8 in _User_extensions_Fatal (error=0x21015690, is_internal=0x0, source=RTEMS_FATAL_SOURCE_EXCEPTION) at ../../cpukit/../../../phycore_mpc5554/lib/include/rtems/score/userextimpl.h:239 #3 _Internal_error_Occurred (the_source=the_source@entry=RTEMS_FATAL_SOURCE_EXCEPTION, is_internal=is_internal@entry=0x0, the_error=0x21015690) at ../../../../../../rtems/c/src/../../cpukit/score/src/interr.c:35 #4 0x0001c734 in rtems_fatal (source=source@entry=RTEMS_FATAL_SOURCE_EXCEPTION, error=<optimized out>) at ../../../../../../rtems/c/src/../../cpukit/sapi/src/fatal2.c:34 #5 0x0001494c in C_exception_handler (excPtr=<optimized out>) at ../../../../../../../rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_global_handler.c:24 #6 0x00013b5c in wrap_call_global_handler_std () at ../../../../../../../rtems/c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_asm_macros.h:864
You can use p *(CPU_Exception_frame *)the_error to get the offending context if the_source == RTEMS_FATAL_SOURCE_EXCEPTION. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel