From 6c4039537b88d99fca574514c243156467289471 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 28 Jan 2005 16:20:09 +0000 Subject: 2005-01-28 Andrew Cagney * 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. --- gdb/valprint.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gdb/valprint.h') 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 -- cgit v1.1