summaryrefslogtreecommitdiffstats
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-05-09 21:20:35 +0000
committerAndrew Cagney <cagney@redhat.com>2005-05-09 21:20:35 +0000
commitfc1a4b4705305014e091a8922aa6cba4127b8dcc (patch)
treef1d422269adbdadf4e11ec7c7ae346ddfce23c14 /gdb/valops.c
parentdbdb27ec2d5ddeb8a214181881ab616ebe47b0cf (diff)
downloadppe42-binutils-fc1a4b4705305014e091a8922aa6cba4127b8dcc.tar.gz
ppe42-binutils-fc1a4b4705305014e091a8922aa6cba4127b8dcc.zip
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/valops.c')
-rw-r--r--gdb/valops.c10
1 files changed, 5 insertions, 5 deletions
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;
OpenPOWER on IntegriCloud