summaryrefslogtreecommitdiffstats
path: root/sys/ddb
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-07-05 10:10:33 +0000
committerdfr <dfr@FreeBSD.org>1998-07-05 10:10:33 +0000
commit8b469e8ce9ac394bae9a3a492967e95d9b7b91c4 (patch)
tree7db890d85aee6beb5dcb10f9985d30a394786a57 /sys/ddb
parent0262543b5f83779b740399f4b8e107618d149997 (diff)
downloadFreeBSD-src-8b469e8ce9ac394bae9a3a492967e95d9b7b91c4.zip
FreeBSD-src-8b469e8ce9ac394bae9a3a492967e95d9b7b91c4.tar.gz
Support 'g' format for printing 8 byte values.
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_examine.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/ddb/db_examine.c b/sys/ddb/db_examine.c
index 09f4597..fbd402b 100644
--- a/sys/ddb/db_examine.c
+++ b/sys/ddb/db_examine.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_examine.c,v 1.20 1998/06/10 10:56:09 dfr Exp $
+ * $Id: db_examine.c,v 1.21 1998/06/27 15:39:51 dfr Exp $
*/
/*
@@ -96,6 +96,10 @@ db_examine(addr, fmt, count)
size = 4;
width = 16;
break;
+ case 'g':
+ size = 8;
+ width = 32;
+ break;
case 'a': /* address */
/* always forces a new line */
if (db_print_position() != 0)
OpenPOWER on IntegriCloud