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/arch-utils.c | |
parent | * Makefile.am: Use a temporary file to build chew. (diff) | |
download | binutils-gdb-fc1a4b4705305014e091a8922aa6cba4127b8dcc.tar.gz binutils-gdb-fc1a4b4705305014e091a8922aa6cba4127b8dcc.tar.bz2 binutils-gdb-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/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index a8fa5caa9cc..13134fa9bf4 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -44,7 +44,7 @@ legacy_extract_return_value (struct type *type, struct regcache *regcache, void *valbuf) { char *registers = deprecated_grub_regcache_for_registers (regcache); - bfd_byte *buf = valbuf; + gdb_byte *buf = valbuf; DEPRECATED_EXTRACT_RETURN_VALUE (type, registers, buf); /* OK */ } @@ -54,7 +54,7 @@ void legacy_store_return_value (struct type *type, struct regcache *regcache, const void *buf) { - bfd_byte *b = alloca (TYPE_LENGTH (type)); + gdb_byte *b = alloca (TYPE_LENGTH (type)); gdb_assert (regcache == current_regcache); memcpy (b, buf, TYPE_LENGTH (type)); DEPRECATED_STORE_RETURN_VALUE (type, b); |