]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make SGCheck fail with a meaningful message on unsupported platforms.
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 22 Feb 2014 22:03:09 +0000 (22:03 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 22 Feb 2014 22:03:09 +0000 (22:03 +0000)
Fixes BZ #325856.

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

NEWS
docs/internals/3_9_BUGSTATUS.txt
exp-sgcheck/pc_main.c

diff --git a/NEWS b/NEWS
index a8d27392452b6aa1ecf76aa36204fc0d3bf9d672..b3fc82dc9e539c8a7640463136b9b82389bd6387 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -37,6 +37,7 @@ where XXXXXX is the bug number as listed below.
 
 308729  vex x86->IR: unhandled instruction bytes 0xf 0x5 (syscall) 
 325714  Empty vgcore but RLIMIT_CORE is big enough (too big) 
+325856  Make SGCheck fail gracefully on unsupported platforms
 326444  Cavium MIPS Octeon Specific Load Indexed Instructions
 326462  Refactor vgdb to isolate invoker stuff into separate module
 326983  Clear direction flag after tests on amd64.
index 3a86a2926025f3618a0da34b6d1890df26cd2a68..814ad055dcf328624975f902f14604740bc7a0f4 100644 (file)
@@ -14,7 +14,6 @@ For bugs reported before this time, see 3_8_BUGSTATUS.txt
 325628  Phase 5 support for IBM Power ISA 2.07
 325751  Missing the  two privileged Power PC Transactional Memory Instructions
 325816  Phase 6 support for IBM Power ISA 2.07
-325856  sgcheck generates internal Valgrind error on IBM Power
 325874  Crash KCachegrind while load big file
 326026  Iop names for count leading zeros/sign bits incorrectly imply a "signedness" in incoming lanes
 326436  False positive in libstdc++ std::list::push_back
index 17ae72815a57f93424539f7544846b255f13c7d2..41632fa7d61c458a504374150eaf440f1afe0c1f 100644 (file)
@@ -62,7 +62,19 @@ static void pc_pre_clo_init(void)
 #endif
 #if defined(VGA_s390x)
    /* fixs390: to be done. */
-   VG_(printf)("SGCheck doesn't work s390x yet, sorry.\n");
+   VG_(printf)("SGCheck doesn't work on s390x yet, sorry.\n");
+   VG_(exit)(1);
+#endif
+#if defined(VGA_ppc32) || defined(VGA_ppc64)
+   VG_(printf)("SGCheck doesn't work on PPC yet, sorry.\n");
+   VG_(exit)(1);
+#endif
+#if defined(VGA_arm) || defined(VGA_arm64)
+   VG_(printf)("SGCheck doesn't work on ARM yet, sorry.\n");
+   VG_(exit)(1);
+#endif
+#if defined(VGA_mips32) || defined(VGA_mips64)
+   VG_(printf)("SGCheck doesn't work on MIPS yet, sorry.\n");
    VG_(exit)(1);
 #endif