[RFA] Remove calls to inside_entry_file

Daniel Jacobowitz drow@mvista.com
Wed Apr 2 20:38:00 GMT 2003


On Wed, Apr 02, 2003 at 02:25:45PM -0500, Andrew Cagney wrote:
> >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.
> 
> Restore the old behavior as far as frame_chain_valid() is concerned. 
> The main() check was moved to get_prev_frame() some time ago.

You're right, I see it now.  OK then.

I don't care; someday it'll all go away.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list