]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove unused field from NSegment structure.
authorFlorian Krohm <florian@eich-krohm.de>
Tue, 27 Jan 2015 20:46:19 +0000 (20:46 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Tue, 27 Jan 2015 20:46:19 +0000 (20:46 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14891

coregrind/m_aspacemgr/aspacemgr-linux.c
include/pub_tool_aspacemgr.h

index 224cb33b9ac9a0c920b6029d3ac6ea87fb559049..9359362042707b1a1c096af9beb57ef906680d78 100644 (file)
@@ -523,7 +523,7 @@ static void __attribute__ ((unused))
    VG_(debugLog)(
       logLevel, "aspacem",
       "%3d: %s %010llx-%010llx %s %c%c%c%c%c %s "
-      "d=0x%03llx i=%-7lld o=%-7lld (%d) m=%d %s\n",
+      "d=0x%03llx i=%-7lld o=%-7lld (%d) %s\n",
       segNo, show_SegKind(seg->kind),
       (ULong)seg->start, (ULong)seg->end, len_buf,
       seg->hasR ? 'r' : '-', seg->hasW ? 'w' : '-', 
@@ -531,7 +531,7 @@ static void __attribute__ ((unused))
       seg->isCH ? 'H' : '-',
       show_ShrinkMode(seg->smode),
       seg->dev, seg->ino, seg->offset, seg->fnIdx,
-      (Int)seg->mark, name
+      name
    );
 }
 
@@ -703,9 +703,6 @@ static Bool sane_NSegment ( const NSegment* s )
    /* No zero sized segments and no wraparounds. */
    if (s->start >= s->end) return False;
 
-   /* .mark is used for admin purposes only. */
-   if (s->mark) return False;
-
    /* require page alignment */
    if (!VG_IS_PAGE_ALIGNED(s->start)) return False;
    if (!VG_IS_PAGE_ALIGNED(s->end+1)) return False;
@@ -1542,7 +1539,6 @@ static void init_nsegment ( /*OUT*/NSegment* seg )
    seg->offset   = 0;
    seg->fnIdx    = -1;
    seg->hasR = seg->hasW = seg->hasX = seg->hasT = seg->isCH = False;
-   seg->mark = False;
 }
 
 /* Make an NSegment which holds a reservation. */
index a10e21fb4c03e30dbe5d69e2e7fb6d545fb5a18c..333158a8dce9a861639984babee764e2d7ed0614 100644 (file)
@@ -112,8 +112,6 @@ typedef
       Bool    hasT;     // True --> translations have (or MAY have)
                         // been taken from this segment
       Bool    isCH;     // True --> is client heap (SkAnonC ONLY)
-      /* Admin */
-      Bool    mark;
    }
    NSegment;