2005-01-28 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Fri, 28 Jan 2005 20:19:54 +0000 (20:19 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 28 Jan 2005 20:19:54 +0000 (20:19 +0000)
* 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.

gdb/ChangeLog
gdb/c-lang.h
gdb/cp-valprint.c

index 3675a7942ba0eb7fb5d1b2611067a6674cdfccfd..1996e0521e763d5e203da5b1eccee1f855bef590 100644 (file)
@@ -1,5 +1,9 @@
 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)
index bce77496529e88e92f87c5fd68143e8acf83891f..0a0267e743b13497c8a97e84f18b05e9e67680c9 100644 (file)
@@ -1,6 +1,7 @@
 /* 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.
 
@@ -75,10 +76,11 @@ extern int vtblprint;               /* Controls printing of vtbl's */
 
 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,
index 882fac28d71792bc47145fa7689873db13969fca..0438e43612170b57da6e6b8afe88fd72126fac95 100644 (file)
@@ -62,7 +62,7 @@ static void cp_print_hpacc_virtual_table_entries (struct type *, int *,
 
 
 void
-cp_print_class_method (char *valaddr,
+cp_print_class_method (const bfd_byte *valaddr,
                       struct type *type,
                       struct ui_file *stream)
 {
@@ -673,7 +673,7 @@ cp_print_static_field (struct type *type,
 }
 
 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)
 {
 
This page took 0.032823 seconds and 4 git commands to generate.