diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-08-10 10:30:57 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-08-10 10:30:57 +0200 |
commit | d43b205e5995640d5eacdf6cb30c75b55499e441 (patch) | |
tree | a174f19839acce7bf8a86204537e4e828aa56741 | |
parent | ca3de01d2b5bac38e8bb24610398526322de03ba (diff) |
testsuites/validation/tc-terminate.c
-rw-r--r-- | testsuites/validation/tc-terminate.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/validation/tc-terminate.c b/testsuites/validation/tc-terminate.c index c057a8730e..ae21d205cd 100644 --- a/testsuites/validation/tc-terminate.c +++ b/testsuites/validation/tc-terminate.c @@ -55,7 +55,9 @@ #include <bsp.h> #include <setjmp.h> #include <string.h> +#include <rtems/bspIo.h> #include <rtems/score/atomic.h> +#include <rtems/score/io.h> #include <rtems/score/percpu.h> #include <rtems/score/sysstate.h> @@ -145,6 +147,9 @@ void __wrap__CPU_Fatal_halt( uint32_t source, CPU_Uint32ptr code ) halt_code = code; longjmp( before_terminate, 1 ); } else { +#if defined(RTEMS_COVERAGE) + _IO_Dump_gcov_info( rtems_put_char, NULL ); +#endif __real__CPU_Fatal_halt( source, code ); } } |