Commit ba380b3e authored by Tom Tromey's avatar Tom Tromey Committed by Bruno Larsen
Browse files

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: default avatarBruno Larsen <blarsen@redhat.com>
Approved-by: default avatarTom Tomey <tom@tromey.com>
parent a0cbd650
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment