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-valprint.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/p-valprint.c') diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c index e320c19..21d21104 100644 --- a/gdb/p-valprint.c +++ b/gdb/p-valprint.c @@ -1,6 +1,6 @@ /* 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. @@ -591,7 +591,7 @@ static void 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; @@ -1045,7 +1045,7 @@ pascal_object_print_static_field (struct type *type, struct value *val, } 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) { -- cgit v1.1