summaryrefslogtreecommitdiffstats
path: root/src/panic.c
Commit message (Collapse)AuthorAgeFilesLines
* doxygen: document panic.[ch]Harald Welte2011-08-171-0/+8
|
* backtrace: use namespace prefix osmo_*Pablo Neira Ayuso2011-05-071-1/+1
| | | | | | Summary of changes: s/backtrace/osmo_backtrace/g
* include: reorganize headers file to include/osmocom/[gsm|core]Pablo Neira Ayuso2011-03-231-3/+3
| | | | | | | | | | | | This patch moves all GSM-specific definitions to include/osmocom/gsm. Moreover, the headers in include/osmocore/ have been moved to include/osmocom/core. This has been proposed by Harald Welte and Sylvain Munaunt. Tested with `make distcheck'. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
* This patch moves the GSM-specific functions to the new libraryPablo Neira Ayuso2011-03-231-0/+1
| | | | | | | | | | libosmogsm which is provided by libosmocore. I have also moved generate_backtrace() to backtrace.c instead of gsm_utils.c, otherwise the timer and msgfile tests depend on libosmogsm. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
* Move the generate backtrace call from MSGB_ABORT to osmo_panic handlerSylvain Munaut2010-11-131-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>
* panic: Fix type warning - osmo_panic_handler_t is already a pointer ...Sylvain Munaut2010-11-131-1/+1
| | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* core: Add some generic panic handlingSylvain Munaut2010-07-251-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>