aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.h
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/c-lang.h
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/c-lang.h')
-rw-r--r--gdb/c-lang.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/gdb/c-lang.h b/gdb/c-lang.h
index bce7749..0a0267e 100644
--- a/gdb/c-lang.h
+++ b/gdb/c-lang.h
@@ -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,