__assert_fail(): remove _Noreturn, to get proper stacktraces
authorrofl0r <retnyg@gmx.net>
Tue, 1 Jan 2013 06:59:11 +0000 (07:59 +0100)
committerrofl0r <retnyg@gmx.net>
Fri, 4 Jan 2013 19:36:34 +0000 (20:36 +0100)
commit2c1f8fd5da3306fd7c8a2267467e44eb61f12dd4
tree9b10c915f1cb4ae8e76e285b5330f4236ac5bf5d
parent5d893e50b063e67360dabb120b547ba52bfc5b87
__assert_fail(): remove _Noreturn, to get proper stacktraces

for _Noreturn functions, gcc generates code that trashes the
stack frame, and so it makes it impossible to inspect the causes
of an assert error in gdb.

abort() is not affected (i have not yet investigated why).
include/assert.h
src/exit/assert.c