|
From: <sv...@va...> - 2016-04-17 15:57:19
|
Author: iraisr
Date: Sun Apr 17 16:57:11 2016
New Revision: 15857
Log:
Fix build on newer illumos distributions which streamlined inclusion of sys/regset.h.
This means that sys/regset.h needs to be included explicitly now.
n-i-bz
Modified:
trunk/memcheck/tests/amd64-solaris/context_gpr.c
trunk/memcheck/tests/amd64-solaris/context_gpr.stderr.exp
trunk/memcheck/tests/amd64-solaris/context_rflags.c
trunk/memcheck/tests/amd64-solaris/context_rflags2.c
trunk/memcheck/tests/amd64-solaris/context_rflags2.stderr.exp
trunk/memcheck/tests/solaris/thr_daemon_exit_standalone.c
trunk/memcheck/tests/x86-solaris/context_eflags.c
trunk/memcheck/tests/x86-solaris/context_eflags2.c
trunk/memcheck/tests/x86-solaris/context_eflags2.stderr.exp
trunk/memcheck/tests/x86-solaris/context_gpr.c
trunk/memcheck/tests/x86-solaris/context_gpr.stderr.exp
Modified: trunk/memcheck/tests/amd64-solaris/context_gpr.c
==============================================================================
--- trunk/memcheck/tests/amd64-solaris/context_gpr.c (original)
+++ trunk/memcheck/tests/amd64-solaris/context_gpr.c Sun Apr 17 16:57:11 2016
@@ -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>
Modified: trunk/memcheck/tests/amd64-solaris/context_gpr.stderr.exp
==============================================================================
--- trunk/memcheck/tests/amd64-solaris/context_gpr.stderr.exp (original)
+++ trunk/memcheck/tests/amd64-solaris/context_gpr.stderr.exp Sun Apr 17 16:57:11 2016
@@ -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)
Modified: trunk/memcheck/tests/amd64-solaris/context_rflags.c
==============================================================================
--- trunk/memcheck/tests/amd64-solaris/context_rflags.c (original)
+++ trunk/memcheck/tests/amd64-solaris/context_rflags.c Sun Apr 17 16:57:11 2016
@@ -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>
Modified: trunk/memcheck/tests/amd64-solaris/context_rflags2.c
==============================================================================
--- trunk/memcheck/tests/amd64-solaris/context_rflags2.c (original)
+++ trunk/memcheck/tests/amd64-solaris/context_rflags2.c Sun Apr 17 16:57:11 2016
@@ -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>
Modified: trunk/memcheck/tests/amd64-solaris/context_rflags2.stderr.exp
==============================================================================
--- trunk/memcheck/tests/amd64-solaris/context_rflags2.stderr.exp (original)
+++ trunk/memcheck/tests/amd64-solaris/context_rflags2.stderr.exp Sun Apr 17 16:57:11 2016
@@ -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)
Modified: trunk/memcheck/tests/solaris/thr_daemon_exit_standalone.c
==============================================================================
--- trunk/memcheck/tests/solaris/thr_daemon_exit_standalone.c (original)
+++ trunk/memcheck/tests/solaris/thr_daemon_exit_standalone.c Sun Apr 17 16:57:11 2016
@@ -3,6 +3,7 @@
#include <sys/lwp.h>
#include <sys/mman.h>
+#include <sys/regset.h>
#include <sys/syscall.h>
#include <sys/ucontext.h>
Modified: trunk/memcheck/tests/x86-solaris/context_eflags.c
==============================================================================
--- trunk/memcheck/tests/x86-solaris/context_eflags.c (original)
+++ trunk/memcheck/tests/x86-solaris/context_eflags.c Sun Apr 17 16:57:11 2016
@@ -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>
Modified: trunk/memcheck/tests/x86-solaris/context_eflags2.c
==============================================================================
--- trunk/memcheck/tests/x86-solaris/context_eflags2.c (original)
+++ trunk/memcheck/tests/x86-solaris/context_eflags2.c Sun Apr 17 16:57:11 2016
@@ -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>
Modified: trunk/memcheck/tests/x86-solaris/context_eflags2.stderr.exp
==============================================================================
--- trunk/memcheck/tests/x86-solaris/context_eflags2.stderr.exp (original)
+++ trunk/memcheck/tests/x86-solaris/context_eflags2.stderr.exp Sun Apr 17 16:57:11 2016
@@ -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)
Modified: trunk/memcheck/tests/x86-solaris/context_gpr.c
==============================================================================
--- trunk/memcheck/tests/x86-solaris/context_gpr.c (original)
+++ trunk/memcheck/tests/x86-solaris/context_gpr.c Sun Apr 17 16:57:11 2016
@@ -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>
Modified: trunk/memcheck/tests/x86-solaris/context_gpr.stderr.exp
==============================================================================
--- trunk/memcheck/tests/x86-solaris/context_gpr.stderr.exp (original)
+++ trunk/memcheck/tests/x86-solaris/context_gpr.stderr.exp Sun Apr 17 16:57:11 2016
@@ -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)
|