From 66ffb4e4d6cdc77064ac80b15b7210fed1ffd07e Mon Sep 17 00:00:00 2001 From: ross Date: Mon, 31 May 1999 06:53:45 +0000 Subject: [PATCH] New format modifier: `L' gives true `long' vs `l' or `legacy' long. --- sys/ddb/db_examine.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/ddb/db_examine.c b/sys/ddb/db_examine.c index a6467506060f..7c870aeb835f 100644 --- a/sys/ddb/db_examine.c +++ b/sys/ddb/db_examine.c @@ -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 @@ db_examine(addr, fmt, count) 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;