2005-01-28 Andrew Cagney <cagney@gnu.org>

* valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
	* valprint.h (val_print_type_code_int): Ditto.
This commit is contained in:
Andrew Cagney 2005-01-28 23:42:28 +00:00
parent 30bffb23b0
commit 5f5477488f
3 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2005-01-28 Andrew Cagney <cagney@gnu.org> 2005-01-28 Andrew Cagney <cagney@gnu.org>
* valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
* valprint.h (val_print_type_code_int): Ditto.
* objc-lang.h (c_val_print, c_value_print): Delete declarations. * objc-lang.h (c_val_print, c_value_print): Delete declarations.
* cp-valprint.c (cp_print_class_method) * cp-valprint.c (cp_print_class_method)

View file

@ -177,7 +177,7 @@ value_print (struct value *val, struct ui_file *stream, int format,
value. STREAM is where to print the value. */ value. STREAM is where to print the value. */
void void
val_print_type_code_int (struct type *type, char *valaddr, val_print_type_code_int (struct type *type, const bfd_byte *valaddr,
struct ui_file *stream) struct ui_file *stream)
{ {
if (TYPE_LENGTH (type) > sizeof (LONGEST)) if (TYPE_LENGTH (type) > sizeof (LONGEST))

View file

@ -54,7 +54,7 @@ extern void val_print_array_elements (struct type *, char *, CORE_ADDR,
struct ui_file *, int, int, int, struct ui_file *, int, int, int,
enum val_prettyprint, unsigned int); enum val_prettyprint, unsigned int);
extern void val_print_type_code_int (struct type *, char *, extern void val_print_type_code_int (struct type *, const bfd_byte *,
struct ui_file *); struct ui_file *);
extern void print_binary_chars (struct ui_file *, const bfd_byte *, extern void print_binary_chars (struct ui_file *, const bfd_byte *,