diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-01-31 10:54:09 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2024-01-31 16:19:29 -0500 |
commit | 9c175474a81dc6422e0a57e747bf9dfbacf8270d (patch) | |
tree | 0b3f0e42a1db43b158590cdd3cdf8922715e1481 /gdb/infcall.c | |
parent | 249e54204b13f9acdd5fbca355fed305e8595f31 (diff) | |
download | gdb-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/infcall.c')
-rw-r--r-- | gdb/infcall.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index 4079f9e..145ce25 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -1300,9 +1300,6 @@ call_function_by_hand_dummy (struct value *function, = set_momentary_breakpoint (gdbarch, sal, dummy_id, bp_call_dummy).release (); - /* set_momentary_breakpoint invalidates FRAME. */ - frame = NULL; - bpt->disposition = disp_del; gdb_assert (bpt->related_breakpoint == bpt); |