diff options
author | Tom Tromey <tom@tromey.com> | 2022-07-25 14:06:34 -0300 |
---|---|---|
committer | Bruno Larsen <blarsen@redhat.com> | 2022-10-10 11:57:10 +0200 |
commit | ba380b3e5162e89c4c81a73f4fb9fcbbbbe75e24 (patch) | |
tree | f04bfa9e20db390811ba51e4a38a47655596c1f6 /gdb/amd64-sol2-tdep.c | |
parent | a0cbd6505e9590baddd27d2ce603103d6e77421a (diff) | |
download | gdb-ba380b3e5162e89c4c81a73f4fb9fcbbbbe75e24.zip gdb-ba380b3e5162e89c4c81a73f4fb9fcbbbbe75e24.tar.gz gdb-ba380b3e5162e89c4c81a73f4fb9fcbbbbe75e24.tar.bz2 |
Introduce frame_info_ptr smart pointer class
This adds frame_info_ptr, a smart pointer class. Every instance of
the class is kept on an intrusive list. When reinit_frame_cache is
called, the list is traversed and all the pointers are invalidated.
This should help catch the typical GDB bug of keeping a frame_info
pointer alive where a frame ID was needed instead.
Co-Authored-By: Bruno Larsen <blarsen@redhat.com>
Approved-by: Tom Tomey <tom@tromey.com>
Diffstat (limited to 'gdb/amd64-sol2-tdep.c')
0 files changed, 0 insertions, 0 deletions