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/stack.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/stack.c')
-rw-r--r-- | gdb/stack.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index bf31583..e444242 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -2307,9 +2307,6 @@ print_variable_and_value_data::operator() (const char *print_name, print_variable_and_value (print_name, sym, frame, stream, num_tabs); - /* print_variable_and_value invalidates FRAME. */ - frame = NULL; - values_printed = 1; } |