]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips: fix VG_(gdbserver_report_signal) arguments
authorPetar Jovanovic <mips32r2@gmail.com>
Thu, 8 Dec 2016 14:52:02 +0000 (14:52 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Thu, 8 Dec 2016 14:52:02 +0000 (14:52 +0000)
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

coregrind/m_signals.c

index b398882424ad736cabc62ac0d55719dff420c54a..34a836e48d7182cbcfb5d09ebb4a4d4235553322 100644 (file)
@@ -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);
    }