From fc1a4b4705305014e091a8922aa6cba4127b8dcc Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 9 May 2005 21:20:35 +0000 Subject: 2005-05-09 Andrew Cagney 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. --- gdb/valops.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gdb/valops.c') diff --git a/gdb/valops.c b/gdb/valops.c index d90d5f8792..658f2a9e76 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -566,7 +566,7 @@ value_assign (struct value *toval, struct value *fromval) case lval_memory: { - const bfd_byte *dest_buffer; + const gdb_byte *dest_buffer; CORE_ADDR changed_addr; int changed_len; char buffer[sizeof (LONGEST)]; @@ -1364,7 +1364,7 @@ search_struct_field (char *name, struct value *arg1, int offset, void find_rt_vbase_offset (struct type *type, struct type *basetype, - const bfd_byte *valaddr, int offset, int *boffset_p, + const gdb_byte *valaddr, int offset, int *boffset_p, int *skip_p) { int boffset; /* offset of virtual base */ @@ -1520,7 +1520,7 @@ search_struct_method (char *name, struct value **arg1p, else { struct type *baseclass = check_typedef (TYPE_BASECLASS (type, i)); - const bfd_byte *base_valaddr; + const gdb_byte *base_valaddr; /* The virtual base class pointer might have been clobbered by the user program. Make sure that it still points to a valid memory @@ -1528,7 +1528,7 @@ search_struct_method (char *name, struct value **arg1p, if (offset < 0 || offset >= TYPE_LENGTH (type)) { - bfd_byte *tmp = alloca (TYPE_LENGTH (baseclass)); + gdb_byte *tmp = alloca (TYPE_LENGTH (baseclass)); if (target_read_memory (VALUE_ADDRESS (*arg1p) + value_offset (*arg1p) + offset, tmp, TYPE_LENGTH (baseclass)) != 0) @@ -2317,7 +2317,7 @@ check_field_in (struct type *type, const char *name) target structure/union is defined, otherwise, return 0. */ int -check_field (struct value *arg1, const bfd_byte *name) +check_field (struct value *arg1, const gdb_byte *name) { struct type *t; -- cgit v1.2.1