From: Petar Jovanovic Date: Thu, 8 Dec 2016 14:52:02 +0000 (+0000) Subject: mips: fix VG_(gdbserver_report_signal) arguments X-Git-Tag: svn/VALGRIND_3_13_0~241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99cd942e35643167f13376487c4c1011351c9f52;p=thirdparty%2Fvalgrind.git mips: fix VG_(gdbserver_report_signal) arguments When definition of VG_(gdbserver_report_signal) was changed in r15248, the function VG_(synth_sigfpe) was omitted from the update. This change fixes: gdbserver_tests/mcsignopass (stderr) gdbserver_tests/mcsignopass (stdoutB) gdbserver_tests/mcsigpass (stderr) gdbserver_tests/mcsigpass (stdoutB) on MIPS platforms. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16180 --- diff --git a/coregrind/m_signals.c b/coregrind/m_signals.c index b398882424..34a836e48d 100644 --- a/coregrind/m_signals.c +++ b/coregrind/m_signals.c @@ -2186,7 +2186,7 @@ void VG_(synth_sigfpe)(ThreadId tid, UInt code) info.si_signo = VKI_SIGFPE; info.si_code = code; - if (VG_(gdbserver_report_signal) (VKI_SIGFPE, tid)) { + if (VG_(gdbserver_report_signal) (&info, tid)) { resume_scheduler(tid); deliver_signal(tid, &info, &uc); }