mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 04:35:38 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user