Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Remove all TRACE calls in signal handlers.
Browse files Browse the repository at this point in the history
  • Loading branch information
adityamandaleeka committed Apr 14, 2016
1 parent ce090df commit 8499763
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/pal/src/exception/signal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,6 @@ static void sigill_handler(int code, siginfo_t *siginfo, void *context)
common_signal_handler(&pointers, code, ucontext);
}

TRACE("SIGILL signal was unhandled; chaining to previous sigaction\n");

if (g_previous_sigill.sa_sigaction != NULL)
{
g_previous_sigill.sa_sigaction(code, siginfo, context);
Expand Down Expand Up @@ -275,8 +273,6 @@ static void sigfpe_handler(int code, siginfo_t *siginfo, void *context)
common_signal_handler(&pointers, code, ucontext);
}

TRACE("SIGFPE signal was unhandled; chaining to previous sigaction\n");

if (g_previous_sigfpe.sa_sigaction != NULL)
{
g_previous_sigfpe.sa_sigaction(code, siginfo, context);
Expand Down Expand Up @@ -345,8 +341,6 @@ static void sigsegv_handler(int code, siginfo_t *siginfo, void *context)
common_signal_handler(&pointers, code, ucontext);
}

TRACE("SIGSEGV signal was unhandled; chaining to previous sigaction\n");

if (g_previous_sigsegv.sa_sigaction != NULL)
{
g_previous_sigsegv.sa_sigaction(code, siginfo, context);
Expand Down Expand Up @@ -392,8 +386,6 @@ static void sigtrap_handler(int code, siginfo_t *siginfo, void *context)
common_signal_handler(&pointers, code, ucontext);
}

TRACE("SIGTRAP signal was unhandled; chaining to previous sigaction\n");

if (g_previous_sigtrap.sa_sigaction != NULL)
{
g_previous_sigtrap.sa_sigaction(code, siginfo, context);
Expand Down Expand Up @@ -448,8 +440,6 @@ static void sigbus_handler(int code, siginfo_t *siginfo, void *context)
common_signal_handler(&pointers, code, ucontext);
}

TRACE("SIGBUS signal was unhandled; chaining to previous sigaction\n");

if (g_previous_sigbus.sa_sigaction != NULL)
{
g_previous_sigbus.sa_sigaction(code, siginfo, context);
Expand All @@ -476,8 +466,6 @@ Parameters :
--*/
static void sigint_handler(int code, siginfo_t *siginfo, void *context)
{
TRACE("SIGINT signal; chaining to previous sigaction\n");

PROCNotifyProcessShutdown();

// Restore the original or default handler and resend signal
Expand All @@ -498,8 +486,6 @@ Parameters :
--*/
static void sigquit_handler(int code, siginfo_t *siginfo, void *context)
{
TRACE("SIGQUIT signal; chaining to previous sigaction\n");

PROCNotifyProcessShutdown();

// Restore the original or default handler and resend signal
Expand Down Expand Up @@ -554,8 +540,6 @@ static void sigterm_handler(int code, siginfo_t *siginfo, void *context)
}
else
{
TRACE("SIGTERM signal was unhandled; chaining to previous sigaction\n");

if (g_previous_sigterm.sa_sigaction != NULL)
{
g_previous_sigterm.sa_sigaction(code, siginfo, context);
Expand Down

0 comments on commit 8499763

Please sign in to comment.