]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
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)
committerLuis Machado <luis.machado@arm.com>
Tue, 31 Jan 2023 13:39:01 +0000 (13:39 +0000)
commit7944d457903af4ba966df2a48aa6a2582b823b55
treeb8e0723650de57156aa4f0804956030bbb18f873
parent2d36c9404e360126551fef20f3f79f5a56f6ad8b
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