aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index a8fa5ca..13134fa 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);