mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
* mips-tdep.c (do_fp_register_row): copy the number of bytes
allocated, not the size of the pointer.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2000-04-13 DJ Delorie <dj@cygnus.com>
|
||||||
|
|
||||||
|
* mips-tdep.c (do_fp_register_row): copy the number of bytes
|
||||||
|
allocated, not the size of the pointer.
|
||||||
|
|
||||||
2000-04-13 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
|
2000-04-13 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
|
||||||
|
|
||||||
* config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Define.
|
* config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Define.
|
||||||
|
@ -2510,7 +2510,7 @@ do_fp_register_row (regnum)
|
|||||||
regnum + 1, REGISTER_NAME (regnum + 1));
|
regnum + 1, REGISTER_NAME (regnum + 1));
|
||||||
|
|
||||||
/* copy the two floats into one double, and unpack both */
|
/* copy the two floats into one double, and unpack both */
|
||||||
memcpy (dbl_buffer, raw_buffer, sizeof (dbl_buffer));
|
memcpy (dbl_buffer, raw_buffer, 2 * REGISTER_RAW_SIZE (FP0_REGNUM));
|
||||||
flt1 = unpack_double (builtin_type_float, raw_buffer[HI], &inv1);
|
flt1 = unpack_double (builtin_type_float, raw_buffer[HI], &inv1);
|
||||||
flt2 = unpack_double (builtin_type_float, raw_buffer[LO], &inv2);
|
flt2 = unpack_double (builtin_type_float, raw_buffer[LO], &inv2);
|
||||||
doub = unpack_double (builtin_type_double, dbl_buffer, &inv3);
|
doub = unpack_double (builtin_type_double, dbl_buffer, &inv3);
|
||||||
@ -2528,7 +2528,7 @@ do_fp_register_row (regnum)
|
|||||||
{ /* eight byte registers: print each one as float AND as double. */
|
{ /* eight byte registers: print each one as float AND as double. */
|
||||||
int offset = 4 * (TARGET_BYTE_ORDER == BIG_ENDIAN);
|
int offset = 4 * (TARGET_BYTE_ORDER == BIG_ENDIAN);
|
||||||
|
|
||||||
memcpy (dbl_buffer, raw_buffer[HI], sizeof (dbl_buffer));
|
memcpy (dbl_buffer, raw_buffer[HI], 2 * REGISTER_RAW_SIZE (FP0_REGNUM));
|
||||||
flt1 = unpack_double (builtin_type_float,
|
flt1 = unpack_double (builtin_type_float,
|
||||||
&raw_buffer[HI][offset], &inv1);
|
&raw_buffer[HI][offset], &inv1);
|
||||||
doub = unpack_double (builtin_type_double, dbl_buffer, &inv3);
|
doub = unpack_double (builtin_type_double, dbl_buffer, &inv3);
|
||||||
|
Reference in New Issue
Block a user