aboutsummaryrefslogtreecommitdiff
path: root/sys/ddb/db_examine.c
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1998-07-05 10:10:33 +0000
committerDoug Rabson <dfr@FreeBSD.org>1998-07-05 10:10:33 +0000
commit1bfc653bbc523c4bd154643ef9d2835c6f050674 (patch)
tree9e3da78a3506ff9004421d1830f91d5eacb61a99 /sys/ddb/db_examine.c
parentf7ea2f55d11712e31e448896b4d1bda81be24e35 (diff)
downloadsrc-1bfc653bbc523c4bd154643ef9d2835c6f050674.tar.gz
src-1bfc653bbc523c4bd154643ef9d2835c6f050674.zip
Support 'g' format for printing 8 byte values.
Notes
Notes: svn path=/head/; revision=37390
Diffstat (limited to 'sys/ddb/db_examine.c')
-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 09f4597b76ec..fbd402b35ea3 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)