From 40abf2392ba9f14935dab556f43e674cb5c47cf3 Mon Sep 17 00:00:00 2001 From: ajs Date: Wed, 12 Jan 2005 17:27:27 +0000 Subject: 2005-01-12 Andrew J. Schorr * configure.ac: Test for header file (for use in signal processing). * sigevent.c: (trap_default_signals) Use the SA_SIGINFO flag to pass additional siginfo_t and ucontext_t arguments to core_handler and exit_handler. (core_handler,exit_handler) Now invoked with 3 arguments (using SA_SIGINFO). Pass additional info to zlog_signal. (program_counter) New function to find program counter in ucontext_t, needs to be enhanced to support more platforms (currently works only on Linux/x86). * log.h: Change the zlog_signal prototype to add new arguments siginfo_t * and program_counter. * log.c: (zlog_signal) Add new arguments siginfo and program_counter. Include si_addr and program counter (if non-NULL) in message. And remove #ifdef HAVE_GLIBC_BACKTRACE around hex_append, since that is now used to render the si_addr and PC pointers. --- lib/ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'lib/ChangeLog') diff --git a/lib/ChangeLog b/lib/ChangeLog index 4b245bec..4410fb24 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,20 @@ +2005-01-12 Andrew J. Schorr + + * sigevent.c: (trap_default_signals) Use the SA_SIGINFO flag to + pass additional siginfo_t and ucontext_t arguments to core_handler + and exit_handler. + (core_handler,exit_handler) Now invoked with 3 arguments (using + SA_SIGINFO). Pass additional info to zlog_signal. + (program_counter) New function to find program counter in ucontext_t, + needs to be enhanced to support more platforms (currently works only + on Linux/x86). + * log.h: Change the zlog_signal prototype to add new arguments + siginfo_t * and program_counter. + * log.c: (zlog_signal) Add new arguments siginfo and program_counter. + Include si_addr and program counter (if non-NULL) in message. + And remove #ifdef HAVE_GLIBC_BACKTRACE around hex_append, since + that is now used to render the si_addr and PC pointers. + 2005-01-12 Andrew J. Schorr * zebra.h: If not C99 and no va_copy macro available, fall back to -- cgit v1.2.1