This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
``abnormal frame'' attribute?
- From: Andrew Cagney <cagney at gnu dot org>
- To: gdb at sources dot redhat dot com
- Date: Wed, 28 Apr 2004 12:12:17 -0400
- Subject: ``abnormal frame'' attribute?
Hello,
I've been looking over various unwind code and one thing I've noticed is
that code is often using:
frame_relative_level < 0 || frame_type != NORMAL_FRAME
as a way to detect, for want of a better name, an ``abnormal frame''
(i.e., non-call frame).
- any suggestions on a better predicate name
- any problems with me going through and cleaning this up
on a related note, giving sentinel frames their own type will also
simplify the logic.
Andrew