]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix build on newer illumos distributions which streamlined inclusion of sys/regset.h.
authorIvo Raisr <ivosh@ivosh.net>
Sun, 17 Apr 2016 15:57:11 +0000 (15:57 +0000)
committerIvo Raisr <ivosh@ivosh.net>
Sun, 17 Apr 2016 15:57:11 +0000 (15:57 +0000)
This means that sys/regset.h needs to be included explicitly now.
n-i-bz

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15857

memcheck/tests/amd64-solaris/context_gpr.c
memcheck/tests/amd64-solaris/context_gpr.stderr.exp
memcheck/tests/amd64-solaris/context_rflags.c
memcheck/tests/amd64-solaris/context_rflags2.c
memcheck/tests/amd64-solaris/context_rflags2.stderr.exp
memcheck/tests/solaris/thr_daemon_exit_standalone.c
memcheck/tests/x86-solaris/context_eflags.c
memcheck/tests/x86-solaris/context_eflags2.c
memcheck/tests/x86-solaris/context_eflags2.stderr.exp
memcheck/tests/x86-solaris/context_gpr.c
memcheck/tests/x86-solaris/context_gpr.stderr.exp

index d955118d7771cacd4ae3b4eb065eb59dd1c50871..313259756192dba60b56a89e2384ef17878eade7 100644 (file)
@@ -7,6 +7,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/regset.h>
 #include <sys/syscall.h>
 #include <sys/ucontext.h>
 
index d17f7a3dcd6b797b6c54cc12a7072e5a34898480..5b922d540e920852276f846b67ac7981f3c4e292 100644 (file)
@@ -1,18 +1,18 @@
 Conditional jump or move depends on uninitialised value(s)
-   at 0x........: main (context_gpr.c:83)
+   at 0x........: main (context_gpr.c:84)
  Uninitialised value was created by a heap allocation
    at 0x........: malloc (vg_replace_malloc.c:...)
-   by 0x........: main (context_gpr.c:42)
+   by 0x........: main (context_gpr.c:43)
 
 Conditional jump or move depends on uninitialised value(s)
-   at 0x........: main (context_gpr.c:90)
+   at 0x........: main (context_gpr.c:91)
  Uninitialised value was created by a heap allocation
    at 0x........: malloc (vg_replace_malloc.c:...)
-   by 0x........: main (context_gpr.c:42)
+   by 0x........: main (context_gpr.c:43)
 
 Conditional jump or move depends on uninitialised value(s)
-   at 0x........: main (context_gpr.c:90)
+   at 0x........: main (context_gpr.c:91)
  Uninitialised value was created by a heap allocation
    at 0x........: malloc (vg_replace_malloc.c:...)
-   by 0x........: main (context_gpr.c:38)
+   by 0x........: main (context_gpr.c:39)
 
index b67f039c6eb561c9a6f03aaf3edb981058de2e6f..6d36d5f65c7d207f17e8a427842e015fae536509 100644 (file)
@@ -7,6 +7,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/regset.h>
 #include <sys/syscall.h>
 #include <sys/ucontext.h>
 
index 9afceca1dc2114210699dde3aaf8396c237f2c87..14d59284e806fa7cb525e20b3a0e1a7082a0a9d0 100644 (file)
@@ -14,6 +14,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/regset.h>
 #include <sys/syscall.h>
 #include <sys/ucontext.h>
 
index 5b94f9c69be4cdc9e8c2486be3deca50370cfbbc..224ae117e6a905c0aa970c2a389eb3e6bbd017f8 100644 (file)
@@ -1,12 +1,12 @@
 Conditional jump or move depends on uninitialised value(s)
-   at 0x........: main (context_rflags2.c:85)
+   at 0x........: main (context_rflags2.c:86)
  Uninitialised value was created by a heap allocation
    at 0x........: malloc (vg_replace_malloc.c:...)
-   by 0x........: main (context_rflags2.c:44)
+   by 0x........: main (context_rflags2.c:45)
 
 Conditional jump or move depends on uninitialised value(s)
-   at 0x........: main (context_rflags2.c:85)
+   at 0x........: main (context_rflags2.c:86)
  Uninitialised value was created by a heap allocation
    at 0x........: malloc (vg_replace_malloc.c:...)
-   by 0x........: main (context_rflags2.c:44)
+   by 0x........: main (context_rflags2.c:45)
 
index d319bcd4344d2e42c83ed930e00c355b5fc5fab1..14817771b726356d900fc979802438d3c40dc203 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <sys/lwp.h>
 #include <sys/mman.h>
+#include <sys/regset.h>
 #include <sys/syscall.h>
 #include <sys/ucontext.h>
 
index 63c6377d7fb232c97e79567b9c2ac71d7d48ddea..4f363f565541906cc8cfc09c2ff179b9898916c8 100644 (file)
@@ -5,6 +5,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/regset.h>
 #include <sys/syscall.h>
 #include <sys/ucontext.h>
 
index 4f37693eaa3058e87bb67dfe24f20d7869030412..c4c0f2562ca607ae2a3b5f5bb101eb51dc55703a 100644 (file)
@@ -5,6 +5,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/regset.h>
 #include <sys/syscall.h>
 #include <sys/ucontext.h>
 
index ce2b2e73cb3205f06b606e9d81f2d76f6b3f65a1..1b38c3bc59fc90cbbf3e2e57b37ed78c55911faa 100644 (file)
@@ -1,12 +1,12 @@
 Conditional jump or move depends on uninitialised value(s)
-   at 0x........: main (context_eflags2.c:75)
+   at 0x........: main (context_eflags2.c:76)
  Uninitialised value was created by a heap allocation
    at 0x........: malloc (vg_replace_malloc.c:...)
-   by 0x........: main (context_eflags2.c:35)
+   by 0x........: main (context_eflags2.c:36)
 
 Conditional jump or move depends on uninitialised value(s)
-   at 0x........: main (context_eflags2.c:75)
+   at 0x........: main (context_eflags2.c:76)
  Uninitialised value was created by a heap allocation
    at 0x........: malloc (vg_replace_malloc.c:...)
-   by 0x........: main (context_eflags2.c:35)
+   by 0x........: main (context_eflags2.c:36)
 
index 6535ea3a801613a5830ce5ae421c8869ba437854..809506f034f0116f81ea8e63943643f41ecc4b19 100644 (file)
@@ -5,6 +5,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/regset.h>
 #include <sys/syscall.h>
 #include <sys/ucontext.h>
 
index 0f2449816fa7ac5287e111383c7993ccda6257bb..a77decacd546fed6340b684d882656ee3730fa7c 100644 (file)
@@ -1,18 +1,18 @@
 Conditional jump or move depends on uninitialised value(s)
-   at 0x........: main (context_gpr.c:80)
+   at 0x........: main (context_gpr.c:81)
  Uninitialised value was created by a heap allocation
    at 0x........: malloc (vg_replace_malloc.c:...)
-   by 0x........: main (context_gpr.c:36)
+   by 0x........: main (context_gpr.c:37)
 
 Conditional jump or move depends on uninitialised value(s)
-   at 0x........: main (context_gpr.c:87)
+   at 0x........: main (context_gpr.c:88)
  Uninitialised value was created by a heap allocation
    at 0x........: malloc (vg_replace_malloc.c:...)
-   by 0x........: main (context_gpr.c:36)
+   by 0x........: main (context_gpr.c:37)
 
 Conditional jump or move depends on uninitialised value(s)
-   at 0x........: main (context_gpr.c:87)
+   at 0x........: main (context_gpr.c:88)
  Uninitialised value was created by a heap allocation
    at 0x........: malloc (vg_replace_malloc.c:...)
-   by 0x........: main (context_gpr.c:32)
+   by 0x........: main (context_gpr.c:33)