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/valarith.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/valarith.c') diff --git a/gdb/valarith.c b/gdb/valarith.c index 7908900..54a7fc6 100644 --- a/gdb/valarith.c +++ b/gdb/valarith.c @@ -1158,7 +1158,7 @@ int value_logical_not (struct value *arg1) { int len; - const bfd_byte *p; + const gdb_byte *p; struct type *type1; arg1 = coerce_number (arg1); @@ -1187,8 +1187,8 @@ value_strcmp (struct value *arg1, struct value *arg2) { int len1 = TYPE_LENGTH (value_type (arg1)); int len2 = TYPE_LENGTH (value_type (arg2)); - const bfd_byte *s1 = value_contents (arg1); - const bfd_byte *s2 = value_contents (arg2); + const gdb_byte *s1 = value_contents (arg1); + const gdb_byte *s2 = value_contents (arg2); int i, len = len1 < len2 ? len1 : len2; for (i = 0; i < len; i++) @@ -1216,8 +1216,8 @@ int value_equal (struct value *arg1, struct value *arg2) { int len; - const bfd_byte *p1; - const bfd_byte *p2; + const gdb_byte *p1; + const gdb_byte *p2; struct type *type1, *type2; enum type_code code1; enum type_code code2; @@ -1399,7 +1399,7 @@ value_complement (struct value *arg1) Return -1 if out of range, -2 other error. */ int -value_bit_index (struct type *type, const bfd_byte *valaddr, int index) +value_bit_index (struct type *type, const gdb_byte *valaddr, int index) { LONGEST low_bound, high_bound; LONGEST word; -- cgit v1.1