From: Ivo Raisr Date: Sun, 17 Apr 2016 15:57:11 +0000 (+0000) Subject: Fix build on newer illumos distributions which streamlined inclusion of sys/regset.h. X-Git-Tag: svn/VALGRIND_3_12_0~166 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6a87219028e9d26bbda884b31b6957d2321bd61;p=thirdparty%2Fvalgrind.git 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 git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15857 --- diff --git a/memcheck/tests/amd64-solaris/context_gpr.c b/memcheck/tests/amd64-solaris/context_gpr.c index d955118d77..3132597561 100644 --- a/memcheck/tests/amd64-solaris/context_gpr.c +++ b/memcheck/tests/amd64-solaris/context_gpr.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include diff --git a/memcheck/tests/amd64-solaris/context_gpr.stderr.exp b/memcheck/tests/amd64-solaris/context_gpr.stderr.exp index d17f7a3dcd..5b922d540e 100644 --- a/memcheck/tests/amd64-solaris/context_gpr.stderr.exp +++ b/memcheck/tests/amd64-solaris/context_gpr.stderr.exp @@ -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) diff --git a/memcheck/tests/amd64-solaris/context_rflags.c b/memcheck/tests/amd64-solaris/context_rflags.c index b67f039c6e..6d36d5f65c 100644 --- a/memcheck/tests/amd64-solaris/context_rflags.c +++ b/memcheck/tests/amd64-solaris/context_rflags.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include diff --git a/memcheck/tests/amd64-solaris/context_rflags2.c b/memcheck/tests/amd64-solaris/context_rflags2.c index 9afceca1dc..14d59284e8 100644 --- a/memcheck/tests/amd64-solaris/context_rflags2.c +++ b/memcheck/tests/amd64-solaris/context_rflags2.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include diff --git a/memcheck/tests/amd64-solaris/context_rflags2.stderr.exp b/memcheck/tests/amd64-solaris/context_rflags2.stderr.exp index 5b94f9c69b..224ae117e6 100644 --- a/memcheck/tests/amd64-solaris/context_rflags2.stderr.exp +++ b/memcheck/tests/amd64-solaris/context_rflags2.stderr.exp @@ -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) diff --git a/memcheck/tests/solaris/thr_daemon_exit_standalone.c b/memcheck/tests/solaris/thr_daemon_exit_standalone.c index d319bcd434..14817771b7 100644 --- a/memcheck/tests/solaris/thr_daemon_exit_standalone.c +++ b/memcheck/tests/solaris/thr_daemon_exit_standalone.c @@ -3,6 +3,7 @@ #include #include +#include #include #include diff --git a/memcheck/tests/x86-solaris/context_eflags.c b/memcheck/tests/x86-solaris/context_eflags.c index 63c6377d7f..4f363f5655 100644 --- a/memcheck/tests/x86-solaris/context_eflags.c +++ b/memcheck/tests/x86-solaris/context_eflags.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include diff --git a/memcheck/tests/x86-solaris/context_eflags2.c b/memcheck/tests/x86-solaris/context_eflags2.c index 4f37693eaa..c4c0f2562c 100644 --- a/memcheck/tests/x86-solaris/context_eflags2.c +++ b/memcheck/tests/x86-solaris/context_eflags2.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include diff --git a/memcheck/tests/x86-solaris/context_eflags2.stderr.exp b/memcheck/tests/x86-solaris/context_eflags2.stderr.exp index ce2b2e73cb..1b38c3bc59 100644 --- a/memcheck/tests/x86-solaris/context_eflags2.stderr.exp +++ b/memcheck/tests/x86-solaris/context_eflags2.stderr.exp @@ -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) diff --git a/memcheck/tests/x86-solaris/context_gpr.c b/memcheck/tests/x86-solaris/context_gpr.c index 6535ea3a80..809506f034 100644 --- a/memcheck/tests/x86-solaris/context_gpr.c +++ b/memcheck/tests/x86-solaris/context_gpr.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include diff --git a/memcheck/tests/x86-solaris/context_gpr.stderr.exp b/memcheck/tests/x86-solaris/context_gpr.stderr.exp index 0f2449816f..a77decacd5 100644 --- a/memcheck/tests/x86-solaris/context_gpr.stderr.exp +++ b/memcheck/tests/x86-solaris/context_gpr.stderr.exp @@ -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)