diff options
Diffstat (limited to 'gdb/mi/mi-main.c')
-rw-r--r-- | gdb/mi/mi-main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index c46bf63..6d73861 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -191,9 +191,7 @@ mi_cmd_exec_return (char *args, int from_tty) /* Because we have called return_command with from_tty = 0, we need to print the frame here. */ - print_stack_frame (deprecated_selected_frame, - frame_relative_level (deprecated_selected_frame), - LOC_AND_ADDRESS); + print_stack_frame (get_selected_frame (), 1, LOC_AND_ADDRESS); return MI_CMD_DONE; } |