aboutsummaryrefslogtreecommitdiff
path: root/gdb/elfread.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/elfread.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/elfread.c')
-rw-r--r--gdb/elfread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index eca2700..e8a0c4d 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -989,8 +989,6 @@ elf_gnu_ifunc_resolver_stop (code_breakpoint *b)
prev_frame_id,
bp_gnu_ifunc_resolver_return).release ();
- /* set_momentary_breakpoint invalidates PREV_FRAME. */
- prev_frame = NULL;
/* Add new b_return to the ring list b->related_breakpoint. */
gdb_assert (b_return->related_breakpoint == b_return);