Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ddb New format modifier: `L' gives true `long' vs `l' or...
details: https://anonhg.NetBSD.org/src/rev/584752dfb6e8
branches: trunk
changeset: 473367:584752dfb6e8
user: ross <ross%NetBSD.org@localhost>
date: Mon May 31 06:53:45 1999 +0000
description:
New format modifier: `L' gives true `long' vs `l' or `legacy' long.
diffstat:
sys/ddb/db_examine.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r a6f6a7f31e12 -r 584752dfb6e8 sys/ddb/db_examine.c
--- a/sys/ddb/db_examine.c Mon May 31 06:41:39 1999 +0000
+++ b/sys/ddb/db_examine.c Mon May 31 06:53:45 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_examine.c,v 1.15 1999/04/12 20:38:21 pk Exp $ */
+/* $NetBSD: db_examine.c,v 1.16 1999/05/31 06:53:45 ross Exp $ */
/*
* Mach Operating System
@@ -106,6 +106,10 @@
size = 4;
width = 12;
break;
+ case 'L': /* implementation maximum */
+ size = sizeof value;
+ width = 12 * (sizeof value / 4);
+ break;
case 'a': /* address */
db_printf("= 0x%lx\n", addr);
break;
Home |
Main Index |
Thread Index |
Old Index