2005-01-28 Andrew Cagney <cagney@gnu.org>
+ * cp-valprint.c (cp_print_class_method)
+ (cp_print_class_member): Make buffer a const bfd_byte.
+ * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
+
* ada-lang.c (value_from_contents_and_address)
(to_record_with_fixed_variant_part)
(value_tag_from_contents_and_address, ada_to_fixed_type)
/* C language support definitions for GDB, the GNU debugger.
- Copyright 1992, 1994, 1995, 1996, 1997, 1998, 2000, 2002
- Free Software Foundation, Inc.
+
+ Copyright 1992, 1994, 1995, 1996, 1997, 1998, 2000, 2002, 2005 Free
+ Software Foundation, Inc.
This file is part of GDB.
extern int static_field_print;
-extern void cp_print_class_member (char *, struct type *, struct ui_file *,
- char *);
+extern void cp_print_class_member (const bfd_byte *, struct type *,
+ struct ui_file *, char *);
-extern void cp_print_class_method (char *, struct type *, struct ui_file *);
+extern void cp_print_class_method (const bfd_byte *, struct type *,
+ struct ui_file *);
extern void cp_print_value_fields (struct type *, struct type *, char *,
int, CORE_ADDR, struct ui_file *, int,
void
-cp_print_class_method (char *valaddr,
+cp_print_class_method (const bfd_byte *valaddr,
struct type *type,
struct ui_file *stream)
{
}
void
-cp_print_class_member (char *valaddr, struct type *domain,
+cp_print_class_member (const bfd_byte *valaddr, struct type *domain,
struct ui_file *stream, char *prefix)
{