From 5bcca90b9eb90535e8112a25775bcc18958dd2eb Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 29 Jan 2005 00:52:02 +0000 Subject: 2005-01-28 Andrew Cagney * 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. --- gdb/p-lang.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gdb/p-lang.h') diff --git a/gdb/p-lang.h b/gdb/p-lang.h index 0f1ef81..fff4666 100644 --- a/gdb/p-lang.h +++ b/gdb/p-lang.h @@ -1,5 +1,6 @@ /* 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. @@ -64,9 +65,11 @@ extern int vtblprint; /* Controls printing of vtbl's */ 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, -- cgit v1.1