diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-05-09 21:20:35 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-05-09 21:20:35 +0000 |
commit | fc1a4b4705305014e091a8922aa6cba4127b8dcc (patch) | |
tree | f1d422269adbdadf4e11ec7c7ae346ddfce23c14 /gdb/cp-valprint.c | |
parent | dbdb27ec2d5ddeb8a214181881ab616ebe47b0cf (diff) | |
download | gdb-fc1a4b4705305014e091a8922aa6cba4127b8dcc.zip gdb-fc1a4b4705305014e091a8922aa6cba4127b8dcc.tar.gz gdb-fc1a4b4705305014e091a8922aa6cba4127b8dcc.tar.bz2 |
2005-05-09 Andrew Cagney <cagney@gnu.org>
Use gdb_byte in preference to bfd_byte.
* gdbarch.sh: Update.
* gdbarch.h, gdbarch.c: Re-generate.
* ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update.
* c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update.
* f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update.
* jv-valprint.c, language.c, language.h, m2-lang.c: Update.
* m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update.
* p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update.
* scm-lang.h, scm-valprint.c, target.c, target.h: Update.
* tramp-frame.c, valarith.c, valops.c, valprint.c: Update.
* valprint.h, value.c, value.h: Update.
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r-- | gdb/cp-valprint.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c index cc481b4..223d015 100644 --- a/gdb/cp-valprint.c +++ b/gdb/cp-valprint.c @@ -81,7 +81,7 @@ static void cp_print_static_field (struct type *, struct value *, struct ui_file *, int, int, enum val_prettyprint); -static void cp_print_value (struct type *, struct type *, const bfd_byte *, +static void cp_print_value (struct type *, struct type *, const gdb_byte *, int, CORE_ADDR, struct ui_file *, int, int, enum val_prettyprint, struct type **); @@ -93,7 +93,7 @@ static void cp_print_hpacc_virtual_table_entries (struct type *, int *, void -cp_print_class_method (const bfd_byte *valaddr, +cp_print_class_method (const gdb_byte *valaddr, struct type *type, struct ui_file *stream) { @@ -259,7 +259,7 @@ cp_is_vtbl_member (struct type *type) void cp_print_value_fields (struct type *type, struct type *real_type, - const bfd_byte *valaddr, int offset, CORE_ADDR address, + const gdb_byte *valaddr, int offset, CORE_ADDR address, struct ui_file *stream, int format, int recurse, enum val_prettyprint pretty, struct type **dont_print_vb,int dont_print_statmem) @@ -520,7 +520,7 @@ cp_print_value_fields (struct type *type, struct type *real_type, static void cp_print_value (struct type *type, struct type *real_type, - const bfd_byte *valaddr, int offset, CORE_ADDR address, + const gdb_byte *valaddr, int offset, CORE_ADDR address, struct ui_file *stream, int format, int recurse, enum val_prettyprint pretty, struct type **dont_print_vb) { @@ -547,7 +547,7 @@ cp_print_value (struct type *type, struct type *real_type, int skip; struct type *baseclass = check_typedef (TYPE_BASECLASS (type, i)); char *basename = TYPE_NAME (baseclass); - const bfd_byte *base_valaddr; + const gdb_byte *base_valaddr; if (BASETYPE_VIA_VIRTUAL (type, i)) { @@ -594,7 +594,7 @@ cp_print_value (struct type *type, struct type *real_type, || (boffset + offset) >= TYPE_LENGTH (type))) { /* FIXME (alloca): unsafe if baseclass is really really large. */ - bfd_byte *buf = alloca (TYPE_LENGTH (baseclass)); + gdb_byte *buf = alloca (TYPE_LENGTH (baseclass)); base_valaddr = buf; if (target_read_memory (address + boffset, buf, TYPE_LENGTH (baseclass)) != 0) @@ -704,7 +704,7 @@ cp_print_static_field (struct type *type, } void -cp_print_class_member (const bfd_byte *valaddr, struct type *domain, +cp_print_class_member (const gdb_byte *valaddr, struct type *domain, struct ui_file *stream, char *prefix) { |