]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
account for restart_syscall
authorNicholas Nethercote <n.nethercote@gmail.com>
Tue, 16 Nov 2004 18:20:35 +0000 (18:20 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Tue, 16 Nov 2004 18:20:35 +0000 (18:20 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3028

memcheck/tests/scalar.c
memcheck/tests/scalar.stderr.exp

index 0b0796526718333400fb20d6c4f53c1897b8f5ff..0f0b8956f25ca350e502fc2e873f4c30e9b99baa 100644 (file)
@@ -23,8 +23,9 @@ int main(void)
 
    // All __NR_xxx numbers are taken from x86
 
-   // __NR_restart_syscall 0  XXX ???
-   // (see below)
+   // __NR_restart_syscall 0  // XXX: not yet handled, perhaps should be...
+   GO(__NR_restart_syscall, "n/a");
+ //SY(__NR_restart_syscall); // (Not yet handled by Valgrind) FAIL;
 
    // __NR_exit 1 
    GO(__NR_exit, "below");
index 9f69e2e578a27dbb87d711488ab4717dd3522335..7f2adde0013b1cee6afea16fb93b535e5f125484 100644 (file)
@@ -1,3 +1,6 @@
+-----------------------------------------------------
+  0:__NR_restart_syscall n/a
+-----------------------------------------------------
 -----------------------------------------------------
   1:           __NR_exit below
 -----------------------------------------------------
@@ -2685,14 +2688,14 @@ Syscall param sigaltstack(ss) points to unaddressable byte(s)
    by 0x........: __libc_start_main (...libc...)
    by 0x........: ...
  Address 0x........ is 0 bytes inside a block of size 12 client-defined
-   at 0x........: main (scalar.c:810)
+   at 0x........: main (scalar.c:811)
 
 Syscall param sigaltstack(oss) points to unaddressable byte(s)
    at 0x........: syscall (in /...libc...)
    by 0x........: __libc_start_main (...libc...)
    by 0x........: ...
  Address 0x........ is 0 bytes inside a block of size 12 client-defined
-   at 0x........: main (scalar.c:810)
+   at 0x........: main (scalar.c:811)
 -----------------------------------------------------
 187:       __NR_sendfile 4s 1m
 -----------------------------------------------------