aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.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/infrun.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/infrun.c')
-rw-r--r--gdb/infrun.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 8ccaf33..87965fb 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -8848,9 +8848,6 @@ insert_exception_resume_breakpoint (struct thread_info *tp,
handler,
bp_exception_resume).release ();
- /* set_momentary_breakpoint_at_pc invalidates FRAME. */
- frame = nullptr;
-
tp->control.exception_resume_breakpoint = bp;
}
}