On Mon, Oct 2, 2023 at 8:36 PM Tom Tromey via Gdb-patches < gdb-patches@sourceware.org> wrote: > Andry Ogorodnik, a co-worker, noticed that multiple "scopes" requests > with the same frame would yield different variableReference values in > the response. > > This patch adds a regression test for this, and adds a scope cache in > scopes.py, ensuring that multiple identical requests will get the same > response. > > 2.40.1 > > I tested this on ppc64le (Power 10) with Fedora Rawhide and I can confirm there're no regressions and the gdb.dap/scopes.exp all passes.