Support 'g' format for printing 8 byte values.

This commit is contained in:
Doug Rabson 1998-07-05 10:10:33 +00:00
parent f7ea2f55d1
commit 1bfc653bbc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37390

View File

@ -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)