diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-28 16:20:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-28 16:20:09 +0000 |
commit | 6c4039537b88d99fca574514c243156467289471 (patch) | |
tree | ff44f824bd8fd60be3cb44bc83e0f8bb3c364dc1 /gdb/valprint.h | |
parent | f7e323d58b6312da747af517269c9aa21c78896a (diff) | |
download | gdb-6c4039537b88d99fca574514c243156467289471.zip gdb-6c4039537b88d99fca574514c243156467289471.tar.gz gdb-6c4039537b88d99fca574514c243156467289471.tar.bz2 |
2005-01-28 Andrew Cagney <cagney@gnu.org>
* valprint.h (print_octal_chars, print_char_chars)
(print_hex_chars, print_decimal_chars, print_binary_chars): Make
buffer a const bfd_byte.
* valprint.c (print_binary_chars, print_octal_chars)
(print_decimal_chars, print_hex_chars, print_char_chars): Make
"valaddr"buffer a const bfd_byte, ditto for local variables
referencing that buffer.
Diffstat (limited to 'gdb/valprint.h')
-rw-r--r-- | gdb/valprint.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h index 647b4bd..ae93ff5 100644 --- a/gdb/valprint.h +++ b/gdb/valprint.h @@ -55,18 +55,18 @@ extern void val_print_array_elements (struct type *, char *, CORE_ADDR, extern void val_print_type_code_int (struct type *, char *, struct ui_file *); -extern void print_binary_chars (struct ui_file *, unsigned char *, +extern void print_binary_chars (struct ui_file *, const bfd_byte *, unsigned int); -extern void print_octal_chars (struct ui_file *, unsigned char *, +extern void print_octal_chars (struct ui_file *, const bfd_byte *, unsigned int); -extern void print_decimal_chars (struct ui_file *, unsigned char *, +extern void print_decimal_chars (struct ui_file *, const bfd_byte *, unsigned int); -extern void print_hex_chars (struct ui_file *, unsigned char *, +extern void print_hex_chars (struct ui_file *, const bfd_byte *, unsigned int); -extern void print_char_chars (struct ui_file *, unsigned char *, +extern void print_char_chars (struct ui_file *, const bfd_byte *, unsigned int); #endif |