From 93e39555dd0fcd222ce68fc7162f511056361bc7 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 13 Dec 2022 22:34:40 -0500 Subject: 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 --- gdb/infcall.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/infcall.c') diff --git a/gdb/infcall.c b/gdb/infcall.c index e09904f..a60cca4 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -842,7 +842,6 @@ call_function_by_hand_dummy (struct value *function, bool stack_temporaries = thread_stack_temporaries_enabled_p (call_thread.get ()); frame = get_current_frame (); - frame.prepare_reinflate (); gdbarch = get_frame_arch (frame); if (!gdbarch_push_dummy_call_p (gdbarch)) -- cgit v1.1