diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-04-24 14:46:43 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-04-25 08:25:33 +0200 |
commit | 863b26ee3a5ab938c2003bcdbc5b82957f917997 (patch) | |
tree | dc7390da9382398f280a65bd72188af08a3936a9 /spec/build/cpukit/librtemscpu.yml | |
parent | bsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTER (diff) | |
download | rtems-863b26ee3a5ab938c2003bcdbc5b82957f917997.tar.bz2 |
score: Avoid cyclic header file dependencies
There was a cyclic dependency: For RTEMS_STATIC_ANALYSIS we needed
basedefs.h in assert.h. For RTEMS_UNREACHABLE() we needed _Assert() from
assert.h in basedefs.h.
Fix this by introducing _Debug_Unreachable() in basedefs.h.
Add RTEMS_FUNCTION_NAME to basedefs.h and use it in basedefs.h and
assert.h.
Close #4900.
Diffstat (limited to 'spec/build/cpukit/librtemscpu.yml')
-rw-r--r-- | spec/build/cpukit/librtemscpu.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml index 2c969aa5f6..e80be5ebf0 100644 --- a/spec/build/cpukit/librtemscpu.yml +++ b/spec/build/cpukit/librtemscpu.yml @@ -1409,6 +1409,7 @@ source: - cpukit/score/src/coretodhookunregister.c - cpukit/score/src/coretodset.c - cpukit/score/src/debugisthreaddispatchingallowed.c +- cpukit/score/src/debugunreachable.c - cpukit/score/src/freechain.c - cpukit/score/src/futex.c - cpukit/score/src/gcovdumpinfobase64.c |