score: Disable RTEMS_NO_RETURN for RTEMS_DEBUG

Do not use RTEMS_NO_RETURN hints for debug configurations to ease use of
stack traces in case of fatal errors.
This commit is contained in:
Sebastian Huber
2016-07-25 08:40:14 +02:00
parent ba0471d9f5
commit 3ae199a553
+1 -1
View File
@@ -99,7 +99,7 @@
*/
#if defined(RTEMS_SCHEDSIM)
#define RTEMS_NO_RETURN
#elif defined(__GNUC__)
#elif defined(__GNUC__) && !defined(RTEMS_DEBUG)
#define RTEMS_NO_RETURN __attribute__((__noreturn__))
#else
#define RTEMS_NO_RETURN