mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 19:44:11 +08:00
TOVAL.
This commit is contained in:
parent
d7dbef210b
commit
cbbfbeb54c
@ -1,5 +1,8 @@
|
||||
2003-06-09 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* valops.c (value_assign): Assign contents of FROMVAL instead of
|
||||
TOVAL.
|
||||
|
||||
* i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM,
|
||||
I386_EDI_REGNUM): New defines.
|
||||
(i386_next_regnum, i386_convert_register_p,
|
||||
|
@ -588,13 +588,12 @@ value_assign (struct value *toval, struct value *fromval)
|
||||
error ("Value being assigned to is no longer active.");
|
||||
|
||||
if (VALUE_LVAL (toval) == lval_reg_frame_relative
|
||||
&& CONVERT_REGISTER_P (VALUE_FRAME_REGNUM (toval),
|
||||
VALUE_TYPE (toval)))
|
||||
&& CONVERT_REGISTER_P (VALUE_FRAME_REGNUM (toval), type))
|
||||
{
|
||||
/* If TOVAL is a special machine register requiring
|
||||
conversion of program values to a special raw format. */
|
||||
VALUE_TO_REGISTER (frame, VALUE_FRAME_REGNUM (toval),
|
||||
VALUE_TYPE (toval), VALUE_CONTENTS (toval));
|
||||
type, VALUE_CONTENTS (fromval));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user