]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips32: hook up getitimer syscall
authorPetar Jovanovic <mips32r2@gmail.com>
Mon, 19 Aug 2019 17:37:17 +0000 (17:37 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Mon, 19 Aug 2019 17:37:17 +0000 (17:37 +0000)
Hook up getitimer syscall for mips32.

This fixes getitimer01 and several other tests in the LTP test suite.

coregrind/m_syswrap/syswrap-mips32-linux.c

index 0f29acab6c9e9f9824b91c507aab97609e5f965f..6da479b0f66bfb810152657a770cb99f66973e53 100644 (file)
@@ -870,7 +870,7 @@ static SyscallTableEntry syscall_main_table[] = {
    LINXY (__NR_socketcall,             sys_socketcall),              // 102
    LINXY (__NR_syslog,                 sys_syslog),                  // 103
    GENXY (__NR_setitimer,              sys_setitimer),               // 104
-   //..    GENXY(__NR_getitimer,         sys_getitimer),         // 105
+   GENXY (__NR_getitimer,              sys_getitimer),               // 105
    GENXY (__NR_stat,                   sys_newstat),                 // 106
    GENXY (__NR_lstat,                  sys_newlstat),                // 107
    GENXY (__NR_fstat,                  sys_newfstat),                // 108