gdb: add create_new_frame(frame_id) overload
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 14 Dec 2022 03:34:37 +0000 (22:34 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 20 Jan 2023 19:48:57 +0000 (14:48 -0500)
commitd015d3206e11c6926c4afce723d8366afc965b97
tree25e3abb4fdbd381696382f27c87c81d699431310
parentf649a718522b018bbb09eb96beb103a4f5892a45
gdb: add create_new_frame(frame_id) overload

The subsequent patches will need to call create_new_frame with an
existing frame_id representing a user created frame.  They could call
the existing create_new_frame, passing both addresses, but it seems
nicer to have a version of the function that takes a frame_id directly.

Change-Id: If31025314fec0c3e644703e4391a5ef8079e1a32
Reviewed-By: Bruno Larsen <blarsen@redhat.com>
gdb/frame.c