diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-12-13 22:34:40 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-01-20 14:48:57 -0500 |
commit | 93e39555dd0fcd222ce68fc7162f511056361bc7 (patch) | |
tree | 11604e05f1a65f4bff113336188c71dd59ae1cef /gdb/mi/mi-cmd-stack.c | |
parent | 836a8d3710462596bb4184617999a9507adc3629 (diff) | |
download | gdb-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/mi/mi-cmd-stack.c')
-rw-r--r-- | gdb/mi/mi-cmd-stack.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 21bcf73..9582fa2 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -176,7 +176,6 @@ mi_cmd_stack_list_frames (const char *command, char **argv, int argc) i++, fi = get_prev_frame (fi)) { QUIT; - fi.prepare_reinflate (); /* Print the location and the address always, even for level 0. If args is 0, don't print the arguments. */ print_frame_info (user_frame_print_options, |