summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-02-09 16:05:23 +0000
committerChristopher Faylor <me@cgf.cx>2012-02-09 16:05:23 +0000
commit3b20fd9324ccbdf57c3ba098f7dab4d930e98303 (patch)
tree23eb02e7318a14735df3d676e28db2a399a5482d
parentcd1a95f55aba06920392b0d0dd4230ebce71c173 (diff)
downloadcygnal-3b20fd9324ccbdf57c3ba098f7dab4d930e98303.tar.gz
cygnal-3b20fd9324ccbdf57c3ba098f7dab4d930e98303.tar.bz2
cygnal-3b20fd9324ccbdf57c3ba098f7dab4d930e98303.zip
* exceptions.cc (setup_handler): Reduce system_printf to sigproc_printf since
it is for a transient situation which will undoubtedly be handled.
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/exceptions.cc2
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index ef7e21944..67771d225 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-09 Christopher Faylor <me.cygwin2012@cgf.cx>
+
+ * exceptions.cc (setup_handler): Reduce system_printf to sigproc_printf
+ since it is for a transient situation which will undoubtedly be
+ handled.
+
2012-02-09 Corinna Vinschen <corinna@vinschen.de>
* fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::write): Set
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index a15c9c307..6d03da8e7 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -879,7 +879,7 @@ setup_handler (int sig, void *handler, struct sigaction& siga, _cygtls *tls)
}
cx.ContextFlags = CONTEXT_CONTROL | CONTEXT_INTEGER;
if (!GetThreadContext (hth, &cx))
- system_printf ("couldn't get context of thread, %E");
+ sigproc_printf ("couldn't get context of thread, %E");
else
interrupted = tls->interrupt_now (&cx, sig, handler, siga);