diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-05 20:59:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-05 20:59:16 +0000 |
commit | 1df6926e87aef854919f6370e4cf202c8ef8d4b6 (patch) | |
tree | 073a36fd8ef17ad300dfd59550ee45324a251a41 /gdb/findvar.c | |
parent | b1bd302e10f49871d0b615cfd27d9cc6f87363b1 (diff) | |
download | gdb-1df6926e87aef854919f6370e4cf202c8ef8d4b6.zip gdb-1df6926e87aef854919f6370e4cf202c8ef8d4b6.tar.gz gdb-1df6926e87aef854919f6370e4cf202c8ef8d4b6.tar.bz2 |
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.
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r-- | gdb/findvar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c index 2a78c1e..4aa4f46 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -769,7 +769,7 @@ value_from_register (struct type *type, int regnum, struct frame_info *frame) for some good purpose. */ { VALUE_LVAL (v) = lval_reg_frame_relative; - VALUE_FRAME (v) = get_frame_base (frame); + VALUE_FRAME_ID (v) = get_frame_id (frame); VALUE_FRAME_REGNUM (v) = regnum; } else if (mem_stor) |