Merge branches/OTRACK_BY_INSTRUMENTATION into the trunk. This adds
support to Memcheck for tracking the origin of uninitialised values,
if you use the --track-origins=yes flag.
This currently causes some Memcheck regression tests to fail, because
they now print an extra line of advisory text in their output. This
will be fixed.
The core-tool interface is slightly changed. The version number for
the interface needs to be incremented.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7982 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_errormgr.c b/coregrind/m_errormgr.c
index 535252f..9a71a09 100644
--- a/coregrind/m_errormgr.c
+++ b/coregrind/m_errormgr.c
@@ -442,7 +442,8 @@
}
// Print stack trace elements
- VG_(apply_StackTrace)(printSuppForIp, VG_(extract_StackTrace)(ec), stop_at);
+ VG_(apply_StackTrace)(printSuppForIp,
+ VG_(get_ExeContext_StackTrace)(ec), stop_at);
VG_(printf)("}\n");
}
@@ -788,7 +789,7 @@
pp_Error( p_min );
if ((i+1 == VG_(clo_dump_error))) {
- StackTrace ips = VG_(extract_StackTrace)(p_min->where);
+ StackTrace ips = VG_(get_ExeContext_StackTrace)(p_min->where);
VG_(translate) ( 0 /* dummy ThreadId; irrelevant due to debugging*/,
ips[0], /*debugging*/True, 0xFE/*verbosity*/,
/*bbs_done*/0,
@@ -1148,7 +1149,7 @@
{
Int i;
Char caller_name[ERRTXT_LEN];
- StackTrace ips = VG_(extract_StackTrace)(err->where);
+ StackTrace ips = VG_(get_ExeContext_StackTrace)(err->where);
for (i = 0; i < su->n_callers; i++) {
Addr a = ips[i];