summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_object.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-27 16:14:39 +0000
committerdg <dg@FreeBSD.org>1994-08-27 16:14:39 +0000
commit4d4250da00e8f202ebcf4523fa25568d04b116ad (patch)
treeb3ca65b5c2af24b8ce278da15822a7fd638bbeb5 /sys/vm/vm_object.c
parentc900d4c13e16169b2482efbfb34820b08862bc16 (diff)
downloadFreeBSD-src-4d4250da00e8f202ebcf4523fa25568d04b116ad.zip
FreeBSD-src-4d4250da00e8f202ebcf4523fa25568d04b116ad.tar.gz
1) Changed ddb into a option rather than a pseudo-device (use options DDB
in your kernel config now). 2) Added ps ddb function from 1.1.5. Cleaned it up a bit and moved into its own file. 3) Added \r handing in db_printf. 4) Added missing memory usage stats to statclock(). 5) Added dummy function to pseudo_set so it will be emitted if there are no other pseudo declarations.
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r--sys/vm/vm_object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 3bdb0a2..8ec42f3 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_object.c,v 1.4 1994/08/07 13:10:40 davidg Exp $
+ * $Id: vm_object.c,v 1.5 1994/08/18 22:36:06 wollman Exp $
*/
/*
@@ -1605,7 +1605,7 @@ vm_object_page_lookup(object, offset)
}
#define DEBUG
-#if defined(DEBUG) || (NDDB > 0)
+#if defined(DEBUG) || defined(DDB)
/*
* vm_object_print: [ debug ]
*/
@@ -1652,4 +1652,4 @@ void vm_object_print(object, full)
printf("\n");
indent -= 2;
}
-#endif /* defined(DEBUG) || (NDDB > 0) */
+#endif /* defined(DEBUG) || defined(DDB) */
OpenPOWER on IntegriCloud