]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Replace 'error' by 'warning' when a signal cannot be translated to the gdb nr.
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 25 Jun 2019 20:49:29 +0000 (22:49 +0200)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Tue, 25 Jun 2019 20:49:29 +0000 (22:49 +0200)
commit90d831171d3d30df27b2c44dee1c70da3e69511d
treef2a9961f8e1ae8ea2d56b0f74f62041f17ca2c8c
parent379c62017f1e573eeb54725bf3a3bc84c5aa9977
Replace 'error' by 'warning' when a signal cannot be translated to the gdb nr.

As 'error' is supposed to be called only to go back at gdbserver toplevel,
and such signal translations can be called during tracing, when
gdbserver is not active : 'error' then tries to longjmp using a
not initialised longjmp buffer.

(reproduced by activating the trace with the test case attached in
bug 409141 - Valgrind hangs when SIGKILLed).
coregrind/m_gdbserver/signals.c