aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-12-13 22:34:40 -0500
committerSimon Marchi <simon.marchi@efficios.com>2023-01-20 14:48:57 -0500
commit93e39555dd0fcd222ce68fc7162f511056361bc7 (patch)
tree11604e05f1a65f4bff113336188c71dd59ae1cef /gdb/infcmd.c
parent836a8d3710462596bb4184617999a9507adc3629 (diff)
downloadgdb-93e39555dd0fcd222ce68fc7162f511056361bc7.zip
gdb-93e39555dd0fcd222ce68fc7162f511056361bc7.tar.gz
gdb-93e39555dd0fcd222ce68fc7162f511056361bc7.tar.bz2
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>
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 7d5ec77..15dca8c 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1834,7 +1834,6 @@ finish_command (const char *arg, int from_tty)
frame = get_prev_frame (get_selected_frame (_("No selected frame.")));
if (frame == 0)
error (_("\"finish\" not meaningful in the outermost frame."));
- frame.prepare_reinflate ();
clear_proceed_status (0);