commit | 2fc3b8a4cb8439fc53975c4e70336d76e3ddc531 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Wed Mar 01 10:33:27 2023 -0700 |
committer | Tom Tromey <tromey@adacore.com> | Wed Mar 29 10:16:23 2023 -0600 |
tree | 7a97dc3b1cbfb066a01ae8165c51a590f58c677d | |
parent | 168f9f95995d7958d8ae35a54c0691f46961c209 [diff] |
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.