aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-02-27 00:01:14 +0000
committerJeff Johnston <jjohnstn@redhat.com>2004-02-27 00:01:14 +0000
commit6b9acc27a9f99a131b016e25b8e52481959b9321 (patch)
treed2bc05fd7c20069ccf878fb9948552bc53caaa0b /gdb/valprint.h
parente99183ebedfba97f6361ae194093b96df5a573a7 (diff)
downloadgdb-6b9acc27a9f99a131b016e25b8e52481959b9321.zip
gdb-6b9acc27a9f99a131b016e25b8e52481959b9321.tar.gz
gdb-6b9acc27a9f99a131b016e25b8e52481959b9321.tar.bz2
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.
Diffstat (limited to 'gdb/valprint.h')
-rw-r--r--gdb/valprint.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h
index 4e2d166..647b4bd 100644
--- a/gdb/valprint.h
+++ b/gdb/valprint.h
@@ -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