aboutsummaryrefslogtreecommitdiffstats
path: root/src/panic.c
AgeCommit message (Collapse)AuthorFilesLines
2010-11-13Move the generate backtrace call from MSGB_ABORT to osmo_panic handlerSylvain Munaut1-0/+2
This has two benefits: - All people calling osmo_panic() will have the backtrace - It makes the thing build in 'target' mode in osmocom-bb And one downside: - The osmo_panic handler is now in the backtrace (I can live with that :) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-13panic: Fix type warning - osmo_panic_handler_t is already a pointer ...Sylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-25core: Add some generic panic handlingSylvain Munaut1-0/+71
This also includes an option for a minimal 'infinite loop' type panic that could be required for embedded target that don't have abort() or fprintf() Signed-off-by: Sylvain Munaut <tnt@246tNt.com>