* objfiles.h: Delete comments refering to inside_entry_func and

DEPRECATED_FRAME_CHAIN_VALID.
	* defs.h (inside_entry_func): Update prototype..
	* blockframe.c (inside_entry_func): Rename to
	legacy_inside_entry_func.  Add new inside_entry_func taking a frame.
	* frame.c (get_prev_frame): Pass the frame to inside_entry_func.
This commit is contained in:
Daniel Jacobowitz
2004-02-04 16:34:51 +00:00
parent 7bfdd688ac
commit 6e4c6c91de
5 changed files with 25 additions and 20 deletions

View File

@@ -98,18 +98,7 @@ struct objfile_data;
use the block at main, or can't find it for some reason, everything
still works as before. And if we have no startup code debugging
information but we do have usable information for main(), backtraces
from user code don't go wandering off into the startup code.
To use this method, define your DEPRECATED_FRAME_CHAIN_VALID macro
like:
#define DEPRECATED_FRAME_CHAIN_VALID(chain, thisframe) \
(chain != 0 \
&& !(inside_main_func ((thisframe)->pc)) \
&& !(inside_entry_func ((thisframe)->pc)))
and add initializations of the four scope controlling variables inside
the object file / debugging information processing modules. */
from user code don't go wandering off into the startup code. */
struct entry_info
{