Right, thanks.
>
>If we want this to work - which is explicitly a backtrace into the
>entry file - then we should probably just kill the test. If it causes
>a problem somewhere, we can deal with it, but I don't expect it will.
Keep in mind that the frame_chain_valid() function has been
end-of-life'ed, and the original change has been superseeded by the
get_prev_frame(). Given that, I think the best thing to do is to
restore the old behavior for older targets - hence put that test first.
That will cause many targets to start backtracing past main, which I
believe we agreed was undesirable.