summaryrefslogtreecommitdiff
path: root/gdb/infcall.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/infcall.c
parent836a8d3710462596bb4184617999a9507adc3629 (diff)
downloadbinutils-gdb-93e39555dd0fcd222ce68fc7162f511056361bc7.tar.gz
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/infcall.c')
-rw-r--r--gdb/infcall.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index e09904f9a35..a60cca47c33 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))