Move follow_static_link to frame.c
authorTom Tromey <tromey@adacore.com>
Tue, 24 Oct 2023 13:59:51 +0000 (07:59 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 14 Nov 2023 15:43:34 +0000 (08:43 -0700)
commit19b83d5c9bac1db207dce26859c6ca84135615b0
treecde40bf66217cda28eb1b5f2d7f2da55a6296ff1
parentba707cadae18a7cc8bb47a736d3d0438d44262a9
Move follow_static_link to frame.c

This moves the follow_static_link function to frame.c and exports it
for use elsewhere.  The API is changed slightly to make it more
generically useful.
gdb/findvar.c
gdb/frame.c
gdb/frame.h