aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-28 20:19:54 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-28 20:19:54 +0000
commit9519ccd50a751de55c4d1ed09f745dcc018384e9 (patch)
treed4d2d4f0b64533f98257af722c50b5cc4c0bc263 /gdb/cp-valprint.c
parent10a2c479a7ced4d97b179bdf6cb2a12891d57c62 (diff)
downloadgdb-9519ccd50a751de55c4d1ed09f745dcc018384e9.zip
gdb-9519ccd50a751de55c4d1ed09f745dcc018384e9.tar.gz
gdb-9519ccd50a751de55c4d1ed09f745dcc018384e9.tar.bz2
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.
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index 882fac2..0438e43 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -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)
{