This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Remove calls to inside_entry_file


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.


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]