From 126e54ad4d560bc7a188ec3bf7eb42b65045752c Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 19 Jan 2015 19:25:28 +0000 Subject: [PATCH] Also print the fspace member of map entries when PRINT_VM_MAP_ENTRY is requested. ok deraadt@ --- usr.sbin/procmap/procmap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.sbin/procmap/procmap.c b/usr.sbin/procmap/procmap.c index b7e29e67ffd..f284ded97dc 100644 --- a/usr.sbin/procmap/procmap.c +++ b/usr.sbin/procmap/procmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procmap.c,v 1.58 2015/01/16 06:40:19 deraadt Exp $ */ +/* $OpenBSD: procmap.c,v 1.59 2015/01/19 19:25:28 kettenis Exp $ */ /* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */ /* @@ -601,7 +601,9 @@ dump_vm_map_entry(kvm_t *kd, struct kbit *vmspace, printf("%s = {", "vm_map_entry"); printf(" start = %lx,", vme->start); printf(" end = %lx,", vme->end); - printf(" object.uvm_obj/sub_map = %p,\n", vme->object.uvm_obj); + printf(" fspace = %lx,\n", vme->fspace); + printf(" object.uvm_obj/sub_map = %p,\n", + vme->object.uvm_obj); printf(" offset = %lx,", (unsigned long)vme->offset); printf(" etype = %x <%s%s%s%s%s >,", vme->etype, vme->etype & UVM_ET_OBJ ? " OBJ" : "", -- 2.20.1