summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-04 20:54:58 +0000
committerphk <phk@FreeBSD.org>2003-01-04 20:54:58 +0000
commitcd57ad899fc4b16669e8bd6f0ddc0d798d9b323f (patch)
tree03615131ce3e84045e995356032ffae0ee90cabe /lib/libc/stdlib
parent1be94e24775ebfa19199eaee7957dca3b333efd2 (diff)
downloadFreeBSD-src-cd57ad899fc4b16669e8bd6f0ddc0d798d9b323f.zip
FreeBSD-src-cd57ad899fc4b16669e8bd6f0ddc0d798d9b323f.tar.gz
Introduce the
void backtrace(void); function which will print a backtrace if DDB is in the kernel and an explanation if not. This is useful for recording backtraces in non-fatal circumstances and does not require pollution with DDB #includes in the files where it is used. It would of course be nice to have a non-DDB dependent version too, but since the meat of a backtrace is MD it is probably not worth it.
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud