]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
augmented scalar
authorNicholas Nethercote <n.nethercote@gmail.com>
Wed, 10 Nov 2004 18:59:57 +0000 (18:59 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Wed, 10 Nov 2004 18:59:57 +0000 (18:59 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2957

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

index 2344ea34cb68f65005d5043a460c1220f51f3193..c927711836defdeb584f45b61aa47ca1c06cd500 100644 (file)
@@ -337,6 +337,9 @@ int main(void)
    // __NR_mq_getsetattr (__NR_mq_open+5)
    // __NR_sys_kexec_load 283
 
+   GO("bogus constant, 1 message");
+   syscall(9999);
+
    // __NR_exit 1 --> sys_exit() 
    GO("__NR_exit, 1 scalar error");
    syscall(__NR_exit, i0);
index db4fd8f7fe5e56500c5a3d29ec3f218e7d84df59..2c7058786dd3a34382d7ace2505d4e81fe2ae7c5 100644 (file)
@@ -109,6 +109,10 @@ Syscall param mount(type) points to unaddressable byte(s)
    by 0x........: ...
  Address 0x........ is not stack'd, malloc'd or (recently) free'd
 ---------- __NR_getppid, 0 errors
+---------- bogus constant, 1 message
+WARNING: unhandled syscall: 9999
+Do not panic.  You may be able to fix this easily.
+Read the file README_MISSING_SYSCALL_OR_IOCTL.
 ---------- __NR_exit, 1 scalar error
 
 Syscall param exit(error_code) contains uninitialised byte(s)