]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: make frame_info_ptr grab frame level and id on construction
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 14 Dec 2022 03:34:40 +0000 (22:34 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 20 Jan 2023 19:48:57 +0000 (14:48 -0500)
commit93e39555dd0fcd222ce68fc7162f511056361bc7
tree11604e05f1a65f4bff113336188c71dd59ae1cef
parent836a8d3710462596bb4184617999a9507adc3629
gdb: make frame_info_ptr grab frame level and id on construction

This is the first step of making frame_info_ptr automatic.  Remove the
frame_info_ptr::prepare_reinflate method, move that code to the
constructor.

Change-Id: I85cdae3ab1c043c70e2702e7fb38e9a4a8a675d8
Reviewed-By: Bruno Larsen <blarsen@redhat.com>
gdb/frame.c
gdb/frame.h
gdb/infcall.c
gdb/infcmd.c
gdb/mi/mi-cmd-stack.c
gdb/stack.c
gdb/unittests/frame_info_ptr-selftests.c