Add Valgrind version back into the preamble.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10572
This commit is contained in:
Nicholas Nethercote 2009-07-24 04:47:04 +00:00
parent d266b0fd1e
commit fb2fa41714
2 changed files with 5 additions and 8 deletions

View File

@ -1013,8 +1013,8 @@ static void print_preamble ( Bool logging_to_fd,
/* Core details */
umsg_or_xml(
"%sBuilt with Valgrind and LibVEX; rerun with -h for copyright info%s\n",
xpre, xpost
"%sUsing Valgrind-%s and LibVEX; rerun with -h for copyright info%s\n",
xpre, VERSION, xpost
);
if (VG_(clo_xml))

View File

@ -18,12 +18,9 @@ sed "/^--[0-9]\{1,7\}:0:*/d" |
# Remove "WARNING: assuming toc 0x.." strings
sed "/^WARNING: assuming toc 0x*/d" |
# Remove "Built with Valgrind and LibVEX..." line and the following
# copyright notice line. Tools have to filter their own line themselves.
sed "/^Built with Valgrind and LibVEX; rerun with -h for copyright info/ d" |
# ... and also remove the "Using LibVEX..." line and the one after it.
sed "/^Using LibVEX, a library for dynamic binary translation/ , /./ d" |
# Remove "Using Valgrind-$VERSION and LibVEX..." line.
# Tools have to filter their own line themselves.
sed "/^Using Valgrind-.* and LibVEX; rerun with -h for copyright info/ d" |
# Anonymise line numbers in vg_replace_malloc.c, remove dirname if present
perl -p -e "s/(m_replacemalloc\/)?vg_replace_malloc.c:[0-9]*/vg_replace_malloc.c:.../" |