diff options
author | Tom Tromey <tromey@adacore.com> | 2023-03-01 10:33:27 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-03-29 10:16:23 -0600 |
commit | 2fc3b8a4cb8439fc53975c4e70336d76e3ddc531 (patch) | |
tree | 7a97dc3b1cbfb066a01ae8165c51a590f58c677d /COPYING3 | |
parent | 168f9f95995d7958d8ae35a54c0691f46961c209 (diff) | |
download | binutils-2fc3b8a4cb8439fc53975c4e70336d76e3ddc531.zip binutils-2fc3b8a4cb8439fc53975c4e70336d76e3ddc531.tar.gz binutils-2fc3b8a4cb8439fc53975c4e70336d76e3ddc531.tar.bz2 |
Use the correct frame when evaluating a dynamic property
The test case in this patch shows an unusual situation: an Ada array
has a dynamic bound, but the bound comes from a frame that's referred
to by the static link. This frame is correctly found when evaluating
the array variable itself, but is lost when evaluating the array's
bounds.
This patch fixes the problem by passing this frame through to
value_at_lazy in the DWARF expression evaluator.
Diffstat (limited to 'COPYING3')
0 files changed, 0 insertions, 0 deletions