aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2024-01-31 10:54:09 -0500
committerSimon Marchi <simon.marchi@efficios.com>2024-01-31 16:19:29 -0500
commit9c175474a81dc6422e0a57e747bf9dfbacf8270d (patch)
tree0b3f0e42a1db43b158590cdd3cdf8922715e1481 /gdb/infcmd.c
parent249e54204b13f9acdd5fbca355fed305e8595f31 (diff)
downloadgdb-9c175474a81dc6422e0a57e747bf9dfbacf8270d.zip
gdb-9c175474a81dc6422e0a57e747bf9dfbacf8270d.tar.gz
gdb-9c175474a81dc6422e0a57e747bf9dfbacf8270d.tar.bz2
gdb: remove some unnecessary frame_info_ptr resets
This code was probably needed before we had reinflatable frame_info_ptrs, it's not necessary anymore. Change-Id: I5474c6081ee1e39624c9266b05dbe01351a130b5 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 5e5f750..54063b3 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1757,9 +1757,6 @@ finish_forward (struct finish_command_fsm *sm, frame_info_ptr frame)
get_stack_frame_id (frame),
bp_finish);
- /* set_momentary_breakpoint invalidates FRAME. */
- frame = nullptr;
-
set_longjmp_breakpoint (tp, frame_id);
/* We want to print return value, please... */