This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Heads Up: selected_frame_level and selected_frame removal
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: insight at sources dot redhat dot com
- Date: Sat, 06 Apr 2002 16:22:34 -0500
- Subject: Heads Up: selected_frame_level and selected_frame removal
Hello,
I'm looking at the variables ``selected_frame_level'' and
``selected_frame'' with the intent of eliminating them.
It won't be instant but it is comming (....). The sequence is likely to be:
selected_frame->level OR frame_level (selected_frame)
selected_frame()->level
selected_thread->selected_frame->level
(or some variation). I'm thinking of initially having both
selected_frame->level and the global selected_frame_level (until I can
convince my self that the global really wasn't doing anything useful).
Looking at insight, I've noticed that selected_frame_level is used. I
guess this can be changed so that, the selected_frame_level_changed()
hook updates a local variable or something.
Andrew