2003-06-05 Andrew Cagney <cagney@redhat.com>
* Makefile.in (value_h): Add $(frame_h). * value.h: Include "frame.h". (struct value): Replace "frame_addr" with "frame_id". (VALUE_FRAME_ID): Replace VALUE_FRAME. * values.c (allocate_value): Use VALUE_FRAME_ID. (value_copy): Use VALUE_FRAME_ID. * findvar.c (value_from_register): Use VALUE_FRAME_ID. * valops.c (value_assign): Update. Use frame_find_by_id.
This commit is contained in:
parent
b1bd302e10
commit
1df6926e87
6 changed files with 24 additions and 15 deletions
|
@ -90,7 +90,7 @@ allocate_value (struct type *type)
|
|||
VALUE_ENCLOSING_TYPE (val) = type;
|
||||
VALUE_LVAL (val) = not_lval;
|
||||
VALUE_ADDRESS (val) = 0;
|
||||
VALUE_FRAME (val) = 0;
|
||||
VALUE_FRAME_ID (val) = null_frame_id;
|
||||
VALUE_OFFSET (val) = 0;
|
||||
VALUE_BITPOS (val) = 0;
|
||||
VALUE_BITSIZE (val) = 0;
|
||||
|
@ -222,7 +222,7 @@ value_copy (struct value *arg)
|
|||
VALUE_OFFSET (val) = VALUE_OFFSET (arg);
|
||||
VALUE_BITPOS (val) = VALUE_BITPOS (arg);
|
||||
VALUE_BITSIZE (val) = VALUE_BITSIZE (arg);
|
||||
VALUE_FRAME (val) = VALUE_FRAME (arg);
|
||||
VALUE_FRAME_ID (val) = VALUE_FRAME_ID (arg);
|
||||
VALUE_REGNO (val) = VALUE_REGNO (arg);
|
||||
VALUE_LAZY (val) = VALUE_LAZY (arg);
|
||||
VALUE_OPTIMIZED_OUT (val) = VALUE_OPTIMIZED_OUT (arg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue