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).
}
#endif
- error ("Valgrind GDBSERVER bug: (target_signal_from_host):"
- " unrecognized vki signal %d\n", hostsig);
+ warning ("Valgrind GDBSERVER bug: (target_signal_from_host):"
+ " unrecognized vki signal %d\n", hostsig);
return TARGET_SIGNAL_UNKNOWN;
}
return retsig;
}
#endif
- error ("Valgrind GDBSERVER bug: (do_target_signal_to_host):"
- " unrecognized target signal %u\n", oursig);
+ warning ("Valgrind GDBSERVER bug: (do_target_signal_to_host):"
+ " unrecognized target signal %u\n", oursig);
*oursig_ok = 0;
return 0;
}