|
From: Will S. <wil...@vn...> - 2015-05-11 17:14:17
|
Add a suppression to handle a "Jump to the invalid address..." message
that gets generated on power. This is a variation of the existing
suppressions.
While here, I also updated the "prog:" line in the vgtest file to reference
the supp_unknown executable, versus the badjump executable. They share the
same source code, so I think this is effectively cosmetic.
Signed-off-by: Will Schmidt <wil...@vn...>
--
---
memcheck/tests/supp_unknown.supp | 7 +++++++
memcheck/tests/supp_unknown.vgtest | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/memcheck/tests/supp_unknown.supp b/memcheck/tests/supp_unknown.supp
index 50ef425..00ea65a 100644
--- a/memcheck/tests/supp_unknown.supp
+++ b/memcheck/tests/supp_unknown.supp
@@ -13,3 +13,10 @@
fun:main
}
+{
+ <insert_a_suppression_name_here>
+ Memcheck:Jump
+ obj:*
+ fun:generic_start_main.isra.0
+ fun:(below main)
+}
diff --git a/memcheck/tests/supp_unknown.vgtest b/memcheck/tests/supp_unknown.vgtest
index a19b054..7636eef 100644
--- a/memcheck/tests/supp_unknown.vgtest
+++ b/memcheck/tests/supp_unknown.vgtest
@@ -1,4 +1,4 @@
vgopts: -q --suppressions=supp_unknown.supp
-prog: badjump
+prog: supp_unknown
cleanup: rm -f vgcore.*
stderr_filter_args: badjump.c
|