Commit Graph

5 Commits

Author SHA1 Message Date
Maciej Gibowicz
79b3c32842 [BH-1757] Fix Hard Fault handling
Added a critical section when handling Hard Faults
co-author @Lefucjusz
2023-08-23 10:29:57 +02:00
Lucjan Bryndza
22cf942253 [CP-670] Fix save crash dump
Fix saving crash dump and add create crash dump
when exit function is called.
Also crashdumps size is slighthy reduced
because for backtrace we don't need to grab
the text section and heap section.

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-11-16 13:24:10 +01:00
Marcin Smoczyński
d6aa228726 [EGD-7770] Fix atomic stability
Add global __GTHREADS definition to trick standard library into thinking
we have a proper threading support and that it should not used single
threaded locking policies. As a result shared pointers will use atomic
locking policy to synchronize access to reference counter.

Add own version of gthr.h to override __gthread_active_p.

Add cxa guard and release for globs.

Looks like there was conflict when __GTHREADS was set so own version of
atomicity.h is removed.

Co-authored-by: Alek Rudnik <aleksander.rudnik@mudita.com>
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
Tested-by: Alek Rudnik <aleksander.rudnik@mudita.com>
Tested-by: Tomasz Krosnowski <tomasz.krosnowski@mudita.com>
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-10-15 14:14:27 +02:00
Artur Śleszyński
202dd93064 [CP-261] Print crash occurences to log
Make sure we produce log entries when crashes occur.
2021-07-26 12:48:32 +02:00
Mateusz Grzegorzek
c3a6c4a92e [BH-396] Move CrashDebug to a separate directory
Move CrashDebug to a separate directory
2021-06-07 11:55:55 +02:00