* i386-tdep.c (i386_extract_return_value): Don't use bfd_byte.
This commit is contained in:
parent
cc8a868a11
commit
c8048956e4
|
@ -1,3 +1,7 @@
|
|||
2003-11-16 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* i386-tdep.c (i386_extract_return_value): Don't use bfd_byte.
|
||||
|
||||
2003-11-16 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* config/mips/linux64.mt: Delete file.
|
||||
|
|
|
@ -1157,10 +1157,9 @@ i386_push_dummy_call (struct gdbarch *gdbarch, CORE_ADDR func_addr,
|
|||
|
||||
static void
|
||||
i386_extract_return_value (struct type *type, struct regcache *regcache,
|
||||
void *dst)
|
||||
void *valbuf)
|
||||
{
|
||||
struct gdbarch_tdep *tdep = gdbarch_tdep (get_regcache_arch (regcache));
|
||||
bfd_byte *valbuf = dst;
|
||||
int len = TYPE_LENGTH (type);
|
||||
char buf[I386_MAX_REGISTER_SIZE];
|
||||
|
||||
|
@ -1202,7 +1201,7 @@ i386_extract_return_value (struct type *type, struct regcache *regcache,
|
|||
regcache_raw_read (regcache, LOW_RETURN_REGNUM, buf);
|
||||
memcpy (valbuf, buf, low_size);
|
||||
regcache_raw_read (regcache, HIGH_RETURN_REGNUM, buf);
|
||||
memcpy (valbuf + low_size, buf, len - low_size);
|
||||
memcpy ((char *) valbuf + low_size, buf, len - low_size);
|
||||
}
|
||||
else
|
||||
internal_error (__FILE__, __LINE__,
|
||||
|
|
Loading…
Reference in New Issue