This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] const pascal_print_object*


FYI,
Andrew
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.
	
Index: p-lang.h
===================================================================
RCS file: /cvs/src/src/gdb/p-lang.h,v
retrieving revision 1.5
diff -p -u -r1.5 p-lang.h
--- p-lang.h	29 Jan 2005 00:11:12 -0000	1.5
+++ p-lang.h	29 Jan 2005 00:51:07 -0000
@@ -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 print
 
 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,
Index: p-valprint.c
===================================================================
RCS file: /cvs/src/src/gdb/p-valprint.c,v
retrieving revision 1.28
diff -p -u -r1.28 p-valprint.c
--- p-valprint.c	12 Nov 2004 21:45:06 -0000	1.28
+++ p-valprint.c	29 Jan 2005 00:51:07 -0000
@@ -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
 }
 
 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)
 {
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]