diff options
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r-- | gdb/findvar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c index 487d25e..cc7d7a5 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -288,6 +288,7 @@ value_of_register (int regnum, struct frame_info *frame) VALUE_ADDRESS (reg_val) = addr; VALUE_REGNUM (reg_val) = regnum; VALUE_OPTIMIZED_OUT (reg_val) = optim; + VALUE_FRAME_ID (reg_val) = get_frame_id (frame); return reg_val; } |