diff options
author | ajs <ajs> | 2004-11-26 18:11:14 +0000 |
---|---|---|
committer | ajs <ajs> | 2004-11-26 18:11:14 +0000 |
commit | 063ee52af64472474af2fa4b3cb2ba9ced746b9f (patch) | |
tree | d9d0f9dac723159cefd21d350195fabe286032e5 /zebra/debug.h | |
parent | d1c51d7c27a1c5f5c838ef5f09e98e33527bfddc (diff) |
2004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* log.c: (zlog_backtrace) New function to log a backtrace.
(zlog_backtrace_safe) Log a backtrace in an async-signal-safe way.
Unfortunately, this function does not support syslog logging yet.
(zlog_signal) Move backtrace code into separate function
zlog_backtrace_safe.
(_zlog_assert_failed) Call zlog_backtrace before aborting.
* log.h: Declare new functions zlog_backtrace and zlog_backtrace_safe.
* memory.c: (zerror) Call zlog_backtrace before aborting.
Diffstat (limited to 'zebra/debug.h')
0 files changed, 0 insertions, 0 deletions