Support 'g' format for printing 8 byte values.
This commit is contained in:
parent
0262543b5f
commit
8b469e8ce9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user