Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Print the maps flags in "show map" from DDB.



details:   https://anonhg.NetBSD.org/src/rev/4d68b5d74a96
branches:  trunk
changeset: 473569:4d68b5d74a96
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Jun 07 16:31:42 1999 +0000

description:
Print the maps flags in "show map" from DDB.

diffstat:

 sys/uvm/uvm_map.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r c9f40ac36763 -r 4d68b5d74a96 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Mon Jun 07 15:34:07 1999 +0000
+++ b/sys/uvm/uvm_map.c Mon Jun 07 16:31:42 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.c,v 1.52 1999/06/02 22:40:51 thorpej Exp $     */
+/*     $NetBSD: uvm_map.c,v 1.53 1999/06/07 16:31:42 thorpej Exp $     */
 
 /* 
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -2928,8 +2928,9 @@
        vm_map_entry_t entry;
 
        (*pr)("MAP %p: [0x%lx->0x%lx]\n", map, map->min_offset,map->max_offset);
-       (*pr)("\t#ent=%d, sz=%d, ref=%d, version=%d\n",
-           map->nentries, map->size, map->ref_count, map->timestamp);
+       (*pr)("\t#ent=%d, sz=%d, ref=%d, version=%d, flags=0x%x\n",
+           map->nentries, map->size, map->ref_count, map->timestamp,
+           map->flags);
 #ifdef pmap_resident_count
        (*pr)("\tpmap=%p(resident=%d)\n", map->pmap, 
            pmap_resident_count(map->pmap));



Home | Main Index | Thread Index | Old Index