|
From: <sv...@va...> - 2005-09-14 19:38:22
|
Author: sewardj
Date: 2005-09-14 20:38:15 +0100 (Wed, 14 Sep 2005)
New Revision: 4658
Log:
Fix dev/ino printing (really we should teach our printf implementation
to understand %ld/%lu correctly.)
Modified:
branches/ASPACEM/coregrind/m_aspacemgr/aspacemgr.c
Modified: branches/ASPACEM/coregrind/m_aspacemgr/aspacemgr.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
--- branches/ASPACEM/coregrind/m_aspacemgr/aspacemgr.c 2005-09-14 13:26:1=
5 UTC (rev 4657)
+++ branches/ASPACEM/coregrind/m_aspacemgr/aspacemgr.c 2005-09-14 19:38:1=
5 UTC (rev 4658)
@@ -1608,14 +1608,14 @@
show_nsegment_full ( Int logLevel, NSegment* seg )
{
VG_(debugLog)(logLevel, "aspacem",
- "NSegment{%s, start=3D0x%llx, end=3D0x%llx, smode=3D%s, dev=3D%lu,=
"
- "ino=3D%lu, offset=3D%llu, fnIdx=3D%d, hasR=3D%d, hasW=3D%d, hasX=3D=
%d, "
+ "NSegment{%s, start=3D0x%llx, end=3D0x%llx, smode=3D%s, dev=3D%llu=
, "
+ "ino=3D%llu, offset=3D%llu, fnIdx=3D%d, hasR=3D%d, hasW=3D%d, hasX=
=3D%d, "
"hasT=3D%d, mark=3D%d}\n",
show_SegKind(seg->kind),
(ULong)seg->start,
(ULong)seg->end,
show_ShrinkMode(seg->smode),
- seg->dev, seg->ino, (ULong)seg->offset, seg->fnIdx,
+ (ULong)seg->dev, (ULong)seg->ino, (ULong)seg->offset, seg->fnIdx,
(Int)seg->hasR, (Int)seg->hasW, (Int)seg->hasX, (Int)seg->hasT,
(Int)seg->mark
);
@@ -1655,12 +1655,13 @@
case SkFileC: case SkFileV:
VG_(debugLog)(
logLevel, "aspacem",
- "%3d: %s %08llx-%08llx %s %c%c%c%c d=3D0x%03lx i=3D%-7ld o=3D=
%-7lld (%d)\n",
+ "%3d: %s %08llx-%08llx %s %c%c%c%c d=3D0x%03llx "
+ "i=3D%-7lld o=3D%-7lld (%d)\n",
segNo, show_SegKind(seg->kind),
(ULong)seg->start, (ULong)seg->end, len_buf,
seg->hasR ? 'r' : '-', seg->hasW ? 'w' : '-',=20
seg->hasX ? 'x' : '-', seg->hasT ? 'T' : '-',=20
- seg->dev, seg->ino, (Long)seg->offset, seg->fnIdx
+ (ULong)seg->dev, (ULong)seg->ino, (Long)seg->offset, seg->fn=
Idx
);
break;
=20
|
|
From: Nicholas N. <nj...@cs...> - 2005-09-14 20:08:49
|
On Wed, 14 Sep 2005, sv...@va... wrote: > Log: > Fix dev/ino printing (really we should teach our printf implementation > to understand %ld/%lu correctly.) It does in the trunk. I just merged in the change so it should work in ASPACEM now too. N |