gdb/arm: Use new dwarf2 function cache
authorTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Thu, 17 Nov 2022 11:18:20 +0000 (12:18 +0100)
committerTorbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Wed, 25 Jan 2023 20:04:40 +0000 (21:04 +0100)
commit5cf11483141a58314834653003e49709b47822d5
tree8b22de3f4f4e51858922462ba8bca3e3f1316720
parentd72ba177c85f2ad18d0dcabdd8844532c9acb819
gdb/arm: Use new dwarf2 function cache

This patch resolves the performance issue reported in pr/29738 by
caching the values for the stack pointers for the inner frame.  By
doing so, the impact can be reduced to checking the state and
returning the appropriate value.

Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Signed-off-by: Yvan Roux <yvan.roux@foss.st.com>
gdb/arm-tdep.c