2005-01-28 Andrew Cagney <cagney@gnu.org>
+ * p-lang.h (pascal_object_print_class_member)
+ (pascal_object_print_class_method): Make buffer a const bfd_byte.
+ * p-valprint.c (pascal_object_print_class_method)
+ (pascal_object_print_class_method): Ditto.
+
* language.h (struct language_defn): Make la_printstr's buffer
parameter a const bfd_byte.
* p-lang.h (pascal_printstr): Update function to match.
/* Pascal language support definitions for GDB, the GNU debugger.
- Copyright 2000 Free Software Foundation, Inc.
+
+ Copyright 2000, 2005 Free Software Foundation, Inc.
This file is part of GDB.
extern int static_field_print;
-extern void pascal_object_print_class_member (char *, struct type *, struct ui_file *, char *);
+extern void pascal_object_print_class_member (const bfd_byte *, struct type *,
+ struct ui_file *, char *);
-extern void pascal_object_print_class_method (char *, struct type *, struct ui_file *);
+extern void pascal_object_print_class_method (const bfd_byte *, struct type *,
+ struct ui_file *);
extern void pascal_object_print_value_fields (struct type *, char *, CORE_ADDR,
struct ui_file *, int, int, enum val_prettyprint,
/* Support for printing Pascal values for GDB, the GNU debugger.
- Copyright 2000, 2001, 2003
- Free Software Foundation, Inc.
+
+ Copyright 2000, 2001, 2003, 2005 Free Software Foundation, Inc.
This file is part of GDB.
int, int, enum val_prettyprint, struct type **);
void
-pascal_object_print_class_method (char *valaddr, struct type *type,
+pascal_object_print_class_method (const bfd_byte *valaddr, struct type *type,
struct ui_file *stream)
{
struct type *domain;
}
void
-pascal_object_print_class_member (char *valaddr, struct type *domain,
+pascal_object_print_class_member (const bfd_byte *valaddr, struct type *domain,
struct ui_file *stream, char *prefix)
{