|
From: <sv...@va...> - 2005-10-06 03:32:46
|
Author: njn
Date: 2005-10-06 04:32:42 +0100 (Thu, 06 Oct 2005)
New Revision: 4874
Log:
Changed some overflow-prone counters from UInt to ULong.
Changed some printf specifiers accordingly, plus some more that were
incorrect.
Also put commas in various output numbers, eg. the leak check stats. =20
This makes them much easier to read when they get big. One
exception is in XML number-only fields such as <leakedbytes>.
Modified:
trunk/coregrind/m_execontext.c
trunk/coregrind/m_scheduler/scheduler.c
trunk/coregrind/m_transtab.c
trunk/memcheck/mac_leakcheck.c
trunk/memcheck/mac_malloc_wrappers.c
trunk/memcheck/mac_shared.c
trunk/memcheck/mac_shared.h
trunk/memcheck/tests/describe-block.stderr.exp
trunk/memcheck/tests/exitprog.stderr.exp
trunk/memcheck/tests/filter_leak_check_size
trunk/memcheck/tests/memalign_test.stderr.exp
trunk/memcheck/tests/mempool.stderr.exp
trunk/memcheck/tests/mempool.stderr.exp64
trunk/memcheck/tests/nanoleak.stderr.exp
trunk/memcheck/tests/pointer-trace.stderr.exp
trunk/memcheck/tests/pointer-trace.stderr.exp2
trunk/memcheck/tests/pointer-trace.stderr.exp64
trunk/memcheck/tests/trivialleak.stderr.exp
Modified: trunk/coregrind/m_execontext.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_execontext.c 2005-10-06 03:19:49 UTC (rev 4873)
+++ trunk/coregrind/m_execontext.c 2005-10-06 03:32:42 UTC (rev 4874)
@@ -64,18 +64,18 @@
=20
/* Stats only: the number of times the system was searched to locate a
context. */
-static UInt ec_searchreqs;
+static ULong ec_searchreqs;
=20
/* Stats only: the number of full context comparisons done. */
-static UInt ec_searchcmps;
+static ULong ec_searchcmps;
=20
/* Stats only: total number of stored contexts. */
-static UInt ec_totstored;
+static ULong ec_totstored;
=20
/* Number of 2, 4 and (fast) full cmps done. */
-static UInt ec_cmp2s;
-static UInt ec_cmp4s;
-static UInt ec_cmpAlls;
+static ULong ec_cmp2s;
+static ULong ec_cmp4s;
+static ULong ec_cmpAlls;
=20
=20
/*------------------------------------------------------------*/
@@ -107,20 +107,18 @@
{
init_ExeContext_storage();
VG_(message)(Vg_DebugMsg,=20
- " exectx: %d lists, %d contexts (avg %d per list)",
- N_EC_LISTS, ec_totstored,=20
- ec_totstored / N_EC_LISTS=20
+ " exectx: %,lu lists, %,llu contexts (avg %,llu per list)",
+ N_EC_LISTS, ec_totstored, ec_totstored / N_EC_LISTS=20
);
VG_(message)(Vg_DebugMsg,=20
- " exectx: %d searches, %d full compares (%d per 1000)",
+ " exectx: %,llu searches, %,llu full compares (%,llu per 1000)",
ec_searchreqs, ec_searchcmps,=20
ec_searchreqs =3D=3D 0=20
- ? 0=20
- : (UInt)( (((ULong)ec_searchcmps) * 1000)=20
- / ((ULong)ec_searchreqs ))=20
+ ? 0L=20
+ : ( (ec_searchcmps * 1000) / ec_searchreqs )=20
);
VG_(message)(Vg_DebugMsg,=20
- " exectx: %d cmp2, %d cmp4, %d cmpAll",
+ " exectx: %,llu cmp2, %,llu cmp4, %,llu cmpAll",
ec_cmp2s, ec_cmp4s, ec_cmpAlls=20
);
}
Modified: trunk/coregrind/m_scheduler/scheduler.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_scheduler/scheduler.c 2005-10-06 03:19:49 UTC (rev =
4873)
+++ trunk/coregrind/m_scheduler/scheduler.c 2005-10-06 03:32:42 UTC (rev =
4874)
@@ -113,8 +113,8 @@
static void mostly_clear_thread_record ( ThreadId tid );
=20
/* Stats. */
-static UInt n_scheduling_events_MINOR =3D 0;
-static UInt n_scheduling_events_MAJOR =3D 0;
+static ULong n_scheduling_events_MINOR =3D 0;
+static ULong n_scheduling_events_MAJOR =3D 0;
=20
/* Sanity checking counts. */
static UInt sanity_fast_count =3D 0;
@@ -123,9 +123,9 @@
void VG_(print_scheduler_stats)(void)
{
VG_(message)(Vg_DebugMsg,
- "scheduler: %llu jumps (bb entries).", bbs_done );
+ "scheduler: %,llu jumps (bb entries).", bbs_done );
VG_(message)(Vg_DebugMsg,
- "scheduler: %d/%d major/minor sched events.",=20
+ "scheduler: %,llu/%,llu major/minor sched events.",=20
n_scheduling_events_MAJOR, n_scheduling_events_MINOR);
VG_(message)(Vg_DebugMsg,=20
" sanity: %d cheap, %d expensive checks.",
Modified: trunk/coregrind/m_transtab.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_transtab.c 2005-10-06 03:19:49 UTC (rev 4873)
+++ trunk/coregrind/m_transtab.c 2005-10-06 03:32:42 UTC (rev 4874)
@@ -703,23 +703,23 @@
void VG_(print_tt_tc_stats) ( void )
{
VG_(message)(Vg_DebugMsg,
- " tt/tc: %llu tt lookups requiring %llu probes",=20
+ " tt/tc: %,llu tt lookups requiring %,llu probes",=20
n_full_lookups, n_lookup_probes );
VG_(message)(Vg_DebugMsg,
- " tt/tc: %llu fast-cache updates, %llu flushes",=20
+ " tt/tc: %,llu fast-cache updates, %,llu flushes",=20
n_fast_updates, n_fast_flushes );
=20
VG_(message)(Vg_DebugMsg,
- "translate: new %lld "
- "(%lld -> %lld; ratio %lld:10) [%lld scs]",
+ "translate: new %,lld "
+ "(%,llu -> %,llu; ratio %,llu:10) [%,llu scs]",
n_in_count, n_in_osize, n_in_tsize,
safe_idiv(10*n_in_tsize, n_in_osize),
n_in_sc_count);
VG_(message)(Vg_DebugMsg,
- "translate: dumped %lld (%lld -> ?" "?)",
+ "translate: dumped %,llu (%,llu -> ?" "?)",
n_dump_count, n_dump_osize );
VG_(message)(Vg_DebugMsg,
- "translate: discarded %lld (%lld -> ?" "?)",
+ "translate: discarded %,llu (%,llu -> ?" "?)",
n_disc_count, n_disc_osize );
}
=20
Modified: trunk/memcheck/mac_leakcheck.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/mac_leakcheck.c 2005-10-06 03:19:49 UTC (rev 4873)
+++ trunk/memcheck/mac_leakcheck.c 2005-10-06 03:32:42 UTC (rev 4874)
@@ -144,8 +144,8 @@
/* Their reachability. */
Reachedness loss_mode;
/* Number of blocks and total # bytes involved. */
- UInt total_bytes;
- UInt indirect_bytes;
+ SizeT total_bytes;
+ SizeT indirect_bytes;
UInt num_blocks;
}
LossRecord;
@@ -281,8 +281,8 @@
=20
if (l->indirect_bytes) {
VG_(message)(Vg_UserMsg,=20
- "%s%d (%d direct, %d indirect) bytes in %d blocks"
- " are %s in loss record %d of %d%s",
+ "%s%,lu (%,lu direct, %,lu indirect) bytes in %,u blocks"
+ " are %s in loss record %,u of %,u%s",
xpre,
l->total_bytes + l->indirect_bytes,=20
l->total_bytes, l->indirect_bytes, l->num_blocks,
@@ -290,15 +290,16 @@
xpost
);
if (VG_(clo_xml)) {
- VG_(message)(Vg_UserMsg, " <leakedbytes>%d</leakedbytes>",=20
+ // Nb: don't put commas in these XML numbers=20
+ VG_(message)(Vg_UserMsg, " <leakedbytes>%lu</leakedbytes>",=20
l->total_bytes + l->indirect_bytes);
- VG_(message)(Vg_UserMsg, " <leakedblocks>%d</leakedblocks>",=20
+ VG_(message)(Vg_UserMsg, " <leakedblocks>%u</leakedblocks>",=20
l->num_blocks);
}
} else {
VG_(message)(
Vg_UserMsg,=20
- "%s%d bytes in %d blocks are %s in loss record %d of %d%s",
+ "%s%,lu bytes in %,u blocks are %s in loss record %,u of %,u%s"=
,
xpre,
l->total_bytes, l->num_blocks,
loss, extra->n_this_record, extra->n_total_records,
@@ -314,11 +315,11 @@
VG_(pp_ExeContext)(l->allocated_at);
}
=20
-Int MAC_(bytes_leaked) =3D 0;
-Int MAC_(bytes_indirect) =3D 0;
-Int MAC_(bytes_dubious) =3D 0;
-Int MAC_(bytes_reachable) =3D 0;
-Int MAC_(bytes_suppressed) =3D 0;
+SizeT MAC_(bytes_leaked) =3D 0;
+SizeT MAC_(bytes_indirect) =3D 0;
+SizeT MAC_(bytes_dubious) =3D 0;
+SizeT MAC_(bytes_reachable) =3D 0;
+SizeT MAC_(bytes_suppressed) =3D 0;
=20
static Int lc_compar(void* n1, void* n2)
{
@@ -497,11 +498,11 @@
}
}
=20
-static Int blocks_leaked;
-static Int blocks_indirect;
-static Int blocks_dubious;
-static Int blocks_reachable;
-static Int blocks_suppressed;
+static SizeT blocks_leaked;
+static SizeT blocks_indirect;
+static SizeT blocks_dubious;
+static SizeT blocks_reachable;
+static SizeT blocks_suppressed;
=20
static void full_report(ThreadId tid)
{
@@ -577,7 +578,7 @@
for (i =3D 0; i < n_lossrecords; i++) {
Bool print_record;
LossRecord* p_min =3D NULL;
- UInt n_min =3D 0xFFFFFFFF;
+ SizeT n_min =3D ~(0x0L);
for (p =3D errlist; p !=3D NULL; p =3D p->next) {
if (p->num_blocks > 0 && p->total_bytes < n_min) {
n_min =3D p->total_bytes + p->indirect_bytes;
@@ -715,7 +716,7 @@
=20
if (VG_(clo_verbosity) > 0 && !VG_(clo_xml))
VG_(message)(Vg_UserMsg,=20
- "searching for pointers to %d not-freed blocks.",=20
+ "searching for pointers to %,d not-freed blocks.",=20
lc_n_shadows );
=20
lc_min_mallocd_addr =3D lc_shadows[0]->data;
@@ -773,7 +774,7 @@
lc_do_leakcheck(-1);
=20
if (VG_(clo_verbosity) > 0 && !VG_(clo_xml))
- VG_(message)(Vg_UserMsg, "checked %d bytes.", lc_scanned);
+ VG_(message)(Vg_UserMsg, "checked %,lu bytes.", lc_scanned);
=20
blocks_leaked =3D MAC_(bytes_leaked) =3D 0;
blocks_indirect =3D MAC_(bytes_indirect) =3D 0;
@@ -789,16 +790,16 @@
if (VG_(clo_verbosity) > 0 && !VG_(clo_xml)) {
VG_(message)(Vg_UserMsg, "");
VG_(message)(Vg_UserMsg, "LEAK SUMMARY:");
- VG_(message)(Vg_UserMsg, " definitely lost: %d bytes in %d block=
s.",=20
+ VG_(message)(Vg_UserMsg, " definitely lost: %,lu bytes in %,lu b=
locks.",
MAC_(bytes_leaked), blocks_leaked );
if (blocks_indirect > 0)
- VG_(message)(Vg_UserMsg, " indirectly lost: %d bytes in %d blocks.",=
=20
+ VG_(message)(Vg_UserMsg, " indirectly lost: %,lu bytes in %,lu block=
s.",
MAC_(bytes_indirect), blocks_indirect );
- VG_(message)(Vg_UserMsg, " possibly lost: %d bytes in %d block=
s.",=20
+ VG_(message)(Vg_UserMsg, " possibly lost: %,lu bytes in %,lu b=
locks.",
MAC_(bytes_dubious), blocks_dubious );
- VG_(message)(Vg_UserMsg, " still reachable: %d bytes in %d block=
s.",=20
+ VG_(message)(Vg_UserMsg, " still reachable: %,lu bytes in %,lu b=
locks.",
MAC_(bytes_reachable), blocks_reachable )=
;
- VG_(message)(Vg_UserMsg, " suppressed: %d bytes in %d block=
s.",=20
+ VG_(message)(Vg_UserMsg, " suppressed: %,lu bytes in %,lu b=
locks.",
MAC_(bytes_suppressed), blocks_suppressed=
);
if (mode =3D=3D LC_Summary && blocks_leaked > 0)
VG_(message)(Vg_UserMsg,
Modified: trunk/memcheck/mac_malloc_wrappers.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/mac_malloc_wrappers.c 2005-10-06 03:19:49 UTC (rev 487=
3)
+++ trunk/memcheck/mac_malloc_wrappers.c 2005-10-06 03:32:42 UTC (rev 487=
4)
@@ -511,7 +511,7 @@
void MAC_(print_malloc_stats) ( void )
{
MAC_Chunk* mc;
- UInt nblocks =3D 0;
+ SizeT nblocks =3D 0;
SizeT nbytes =3D 0;
=20
if (VG_(clo_verbosity) =3D=3D 0)
@@ -527,10 +527,10 @@
}
=20
VG_(message)(Vg_UserMsg,=20
- "malloc/free: in use at exit: %d bytes in %d blocks.",
+ "malloc/free: in use at exit: %,lu bytes in %,lu blocks.=
",
nbytes, nblocks);
VG_(message)(Vg_UserMsg,=20
- "malloc/free: %d allocs, %d frees, %u bytes allocated.",
+ "malloc/free: %,lu allocs, %,lu frees, %,lu bytes alloca=
ted.",
cmalloc_n_mallocs,
cmalloc_n_frees, cmalloc_bs_mallocd);
if (VG_(clo_verbosity) > 1)
Modified: trunk/memcheck/mac_shared.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/mac_shared.c 2005-10-06 03:19:49 UTC (rev 4873)
+++ trunk/memcheck/mac_shared.c 2005-10-06 03:32:42 UTC (rev 4874)
@@ -279,9 +279,9 @@
relative =3D "inside";
}
VG_(message)(Vg_UserMsg,=20
- "%sAddress 0x%llx is %llu bytes %s a %s of size %d %s%s",
+ "%sAddress 0x%lx is %,lu bytes %s a %s of size %,lu %s%s",
xpre,
- (ULong)a, (ULong)delta, relative, kind,
+ a, delta, relative, kind,
ai->blksize,
ai->akind=3D=3DMallocd ? "alloc'd"=20
: ai->akind=3D=3DFreed ? "free'd"=20
Modified: trunk/memcheck/mac_shared.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/mac_shared.h 2005-10-06 03:19:49 UTC (rev 4873)
+++ trunk/memcheck/mac_shared.h 2005-10-06 03:32:42 UTC (rev 4874)
@@ -346,11 +346,11 @@
extern Bool (*MAC_(describe_addr_supp)) ( Addr a, AddrInfo* ai );
=20
/* For VALGRIND_COUNT_LEAKS client request */
-extern Int MAC_(bytes_leaked);
-extern Int MAC_(bytes_indirect);
-extern Int MAC_(bytes_dubious);
-extern Int MAC_(bytes_reachable);
-extern Int MAC_(bytes_suppressed);
+extern SizeT MAC_(bytes_leaked);
+extern SizeT MAC_(bytes_indirect);
+extern SizeT MAC_(bytes_dubious);
+extern SizeT MAC_(bytes_reachable);
+extern SizeT MAC_(bytes_suppressed);
=20
/*------------------------------------------------------------*/
/*--- Functions ---*/
Modified: trunk/memcheck/tests/describe-block.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/describe-block.stderr.exp 2005-10-06 03:19:49 UT=
C (rev 4873)
+++ trunk/memcheck/tests/describe-block.stderr.exp 2005-10-06 03:32:42 UT=
C (rev 4874)
@@ -1,7 +1,7 @@
=20
Invalid write of size 1
at 0x........: main (describe-block.c:6)
- Address 0x........ is 0 bytes inside a magic foople zone of size 4096 c=
lient-defined
+ Address 0x........ is 0 bytes inside a magic foople zone of size 4,096 =
client-defined
at 0x........: main (describe-block.c:5)
=20
Process terminating with default action of signal 11 (SIGSEGV)
Modified: trunk/memcheck/tests/exitprog.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/exitprog.stderr.exp 2005-10-06 03:19:49 UTC (rev=
4873)
+++ trunk/memcheck/tests/exitprog.stderr.exp 2005-10-06 03:32:42 UTC (rev=
4874)
@@ -1,5 +1,5 @@
Invalid write of size 1
at 0x........: main (exitprog.c:18)
- Address 0x........ is 0 bytes after a block of size 1000000 alloc'd
+ Address 0x........ is 0 bytes after a block of size 1,000,000 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (exitprog.c:15)
Modified: trunk/memcheck/tests/filter_leak_check_size
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/filter_leak_check_size 2005-10-06 03:19:49 UTC (=
rev 4873)
+++ trunk/memcheck/tests/filter_leak_check_size 2005-10-06 03:32:42 UTC (=
rev 4874)
@@ -1,4 +1,4 @@
#! /bin/sh
=20
./filter_stderr |
-sed "s/checked [0-9]* bytes./checked ... bytes./"
+sed "s/checked [0-9,]* bytes./checked ... bytes./"
Modified: trunk/memcheck/tests/memalign_test.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/memalign_test.stderr.exp 2005-10-06 03:19:49 UTC=
(rev 4873)
+++ trunk/memcheck/tests/memalign_test.stderr.exp 2005-10-06 03:32:42 UTC=
(rev 4874)
@@ -1,6 +1,6 @@
Invalid free() / delete / delete[]
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (memalign_test.c:17)
- Address 0x........ is 0 bytes inside a block of size 111110 free'd
+ Address 0x........ is 0 bytes inside a block of size 111,110 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (memalign_test.c:15)
Modified: trunk/memcheck/tests/mempool.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/mempool.stderr.exp 2005-10-06 03:19:49 UTC (rev =
4873)
+++ trunk/memcheck/tests/mempool.stderr.exp 2005-10-06 03:32:42 UTC (rev =
4874)
@@ -1,7 +1,7 @@
Invalid write of size 1
at 0x........: test (mempool.c:124)
by 0x........: main (mempool.c:148)
- Address 0x........ is 7 bytes inside a block of size 100000 alloc'd
+ Address 0x........ is 7 bytes inside a block of size 100,000 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: make_pool (mempool.c:38)
by 0x........: test (mempool.c:111)
@@ -10,7 +10,7 @@
Invalid write of size 1
at 0x........: test (mempool.c:125)
by 0x........: main (mempool.c:148)
- Address 0x........ is 18 bytes inside a block of size 100000 alloc'd
+ Address 0x........ is 18 bytes inside a block of size 100,000 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: make_pool (mempool.c:38)
by 0x........: test (mempool.c:111)
@@ -19,7 +19,7 @@
Invalid write of size 1
at 0x........: test (mempool.c:129)
by 0x........: main (mempool.c:148)
- Address 0x........ is 70 bytes inside a block of size 100000 alloc'd
+ Address 0x........ is 70 bytes inside a block of size 100,000 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: make_pool (mempool.c:38)
by 0x........: test (mempool.c:111)
@@ -28,14 +28,14 @@
Invalid write of size 1
at 0x........: test (mempool.c:130)
by 0x........: main (mempool.c:148)
- Address 0x........ is 96 bytes inside a block of size 100000 alloc'd
+ Address 0x........ is 96 bytes inside a block of size 100,000 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: make_pool (mempool.c:38)
by 0x........: test (mempool.c:111)
by 0x........: main (mempool.c:148)
=20
=20
-100028 (20 direct, 100008 indirect) bytes in 1 blocks are definitely los=
t in loss record 2 of 3
+100,028 (20 direct, 100,008 indirect) bytes in 1 blocks are definitely l=
ost in loss record 2 of 3
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: make_pool (mempool.c:37)
by 0x........: test (mempool.c:111)
Modified: trunk/memcheck/tests/mempool.stderr.exp64
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/mempool.stderr.exp64 2005-10-06 03:19:49 UTC (re=
v 4873)
+++ trunk/memcheck/tests/mempool.stderr.exp64 2005-10-06 03:32:42 UTC (re=
v 4874)
@@ -35,7 +35,7 @@
by 0x........: main (mempool.c:148)
=20
=20
-100048 (32 direct, 100016 indirect) bytes in 1 blocks are definitely los=
t in loss record 2 of 3
+100,048 (32 direct, 100,016 indirect) bytes in 1 blocks are definitely l=
ost in loss record 2 of 3
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: make_pool (mempool.c:37)
by 0x........: test (mempool.c:111)
Modified: trunk/memcheck/tests/nanoleak.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/nanoleak.stderr.exp 2005-10-06 03:19:49 UTC (rev=
4873)
+++ trunk/memcheck/tests/nanoleak.stderr.exp 2005-10-06 03:32:42 UTC (rev=
4874)
@@ -1,4 +1,4 @@
=20
-1000 bytes in 1 blocks are definitely lost in loss record 1 of 1
+1,000 bytes in 1 blocks are definitely lost in loss record 1 of 1
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (nanoleak.c:6)
Modified: trunk/memcheck/tests/pointer-trace.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/pointer-trace.stderr.exp 2005-10-06 03:19:49 UTC=
(rev 4873)
+++ trunk/memcheck/tests/pointer-trace.stderr.exp 2005-10-06 03:32:42 UTC=
(rev 4874)
@@ -5,24 +5,24 @@
LEAK SUMMARY:
definitely lost: 0 bytes in 0 blocks.
possibly lost: 0 bytes in 0 blocks.
- still reachable: 1048576 bytes in 1 blocks.
+ still reachable: 1,048,576 bytes in 1 blocks.
suppressed: 0 bytes in 0 blocks.
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --show-reachable=3Dyes
=20
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 1048576 bytes in 1 blocks.
-malloc/free: 1 allocs, 0 frees, 1048576 bytes allocated.
+malloc/free: in use at exit: 1,048,576 bytes in 1 blocks.
+malloc/free: 1 allocs, 0 frees, 1,048,576 bytes allocated.
For counts of detected errors, rerun with: -v
searching for pointers to 1 not-freed blocks.
checked ... bytes.
=20
-1048576 bytes in 1 blocks are definitely lost in loss record 1 of 1
+1,048,576 bytes in 1 blocks are definitely lost in loss record 1 of 1
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (pointer-trace.c:24)
=20
LEAK SUMMARY:
- definitely lost: 1048576 bytes in 1 blocks.
+ definitely lost: 1,048,576 bytes in 1 blocks.
possibly lost: 0 bytes in 0 blocks.
still reachable: 0 bytes in 0 blocks.
suppressed: 0 bytes in 0 blocks.
Modified: trunk/memcheck/tests/pointer-trace.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/pointer-trace.stderr.exp2 2005-10-06 03:19:49 UT=
C (rev 4873)
+++ trunk/memcheck/tests/pointer-trace.stderr.exp2 2005-10-06 03:32:42 UT=
C (rev 4874)
@@ -6,24 +6,24 @@
definitely lost: 0 bytes in 0 blocks.
indirectly lost: 0 bytes in 0 blocks.
possibly lost: 0 bytes in 0 blocks.
- still reachable: 1048600 bytes in 2 blocks.
+ still reachable: 1,048,600 bytes in 2 blocks.
suppressed: 0 bytes in 0 blocks.
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --show-reachable=3Dyes
=20
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 1048576 bytes in 1 blocks.
-malloc/free: 2 allocs, 1 frees, 1048600 bytes allocated.
+malloc/free: in use at exit: 1,048,576 bytes in 1 blocks.
+malloc/free: 2 allocs, 1 frees, 1,048,600 bytes allocated.
For counts of detected errors, rerun with: -v
searching for pointers to 1 not-freed blocks.
checked ... bytes.
=20
-1048576 bytes in 1 blocks are definitely lost in loss record 1 of 1
+1,048,576 bytes in 1 blocks are definitely lost in loss record 1 of 1
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (pointer-trace.c:24)
=20
LEAK SUMMARY:
- definitely lost: 1048576 bytes in 1 blocks.
+ definitely lost: 1,048,576 bytes in 1 blocks.
indirectly lost: 0 bytes in 0 blocks.
possibly lost: 0 bytes in 0 blocks.
still reachable: 0 bytes in 0 blocks.
Modified: trunk/memcheck/tests/pointer-trace.stderr.exp64
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/pointer-trace.stderr.exp64 2005-10-06 03:19:49 U=
TC (rev 4873)
+++ trunk/memcheck/tests/pointer-trace.stderr.exp64 2005-10-06 03:32:42 U=
TC (rev 4874)
@@ -5,24 +5,24 @@
LEAK SUMMARY:
definitely lost: 0 bytes in 0 blocks.
possibly lost: 0 bytes in 0 blocks.
- still reachable: 2097152 bytes in 1 blocks.
+ still reachable: 2,097,152 bytes in 1 blocks.
suppressed: 0 bytes in 0 blocks.
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --show-reachable=3Dyes
=20
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 2097152 bytes in 1 blocks.
-malloc/free: 1 allocs, 0 frees, 2097152 bytes allocated.
+malloc/free: in use at exit: 2,097,152 bytes in 1 blocks.
+malloc/free: 1 allocs, 0 frees, 2,097,152 bytes allocated.
For counts of detected errors, rerun with: -v
searching for pointers to 1 not-freed blocks.
checked ... bytes.
=20
-2097152 bytes in 1 blocks are definitely lost in loss record 1 of 1
+2,097,152 bytes in 1 blocks are definitely lost in loss record 1 of 1
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (pointer-trace.c:24)
=20
LEAK SUMMARY:
- definitely lost: 2097152 bytes in 1 blocks.
+ definitely lost: 2,097,152 bytes in 1 blocks.
possibly lost: 0 bytes in 0 blocks.
still reachable: 0 bytes in 0 blocks.
suppressed: 0 bytes in 0 blocks.
Modified: trunk/memcheck/tests/trivialleak.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/trivialleak.stderr.exp 2005-10-06 03:19:49 UTC (=
rev 4873)
+++ trunk/memcheck/tests/trivialleak.stderr.exp 2005-10-06 03:32:42 UTC (=
rev 4874)
@@ -1,5 +1,5 @@
=20
-1000 bytes in 1000 blocks are definitely lost in loss record 1 of 1
+1,000 bytes in 1,000 blocks are definitely lost in loss record 1 of 1
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: test (trivialleak.c:8)
by 0x........: main (trivialleak.c:12)
|