2004-02-26 Jeff Johnston <jjohnstn@redhat.com>

* valprint.h (print_hex_chars, print_char_chars): New prototypes.
        * valprint.c (print_hex_chars): Change from static to external.
        (print_char_chars): New function.
        * printcmd.c (print_scalar_formatted): For integer and enum types
        that are longer than LONGEST, perform processing via appropriate
        print_*_chars routines.
This commit is contained in:
Jeff Johnston
2004-02-27 00:01:14 +00:00
parent e99183ebed
commit 6b9acc27a9
4 changed files with 77 additions and 4 deletions

View File

@@ -63,4 +63,10 @@ extern void print_octal_chars (struct ui_file *, unsigned char *,
extern void print_decimal_chars (struct ui_file *, unsigned char *,
unsigned int);
extern void print_hex_chars (struct ui_file *, unsigned char *,
unsigned int);
extern void print_char_chars (struct ui_file *, unsigned char *,
unsigned int);
#endif