Many changes, most related to creating entry point information on a per-objfile

basis.  See comments in objfiles.h and details in ChangeLog.  Also remove
redundant definitions of FRAME_CHAIN_VALID from most of the tm-* files and
use a default definition in frame.h.
This commit is contained in:
Fred Fish
1992-03-21 01:56:01 +00:00
parent 9abf940670
commit 5e2e79f859
32 changed files with 458 additions and 185 deletions

View File

@@ -295,18 +295,12 @@ extern struct value *value_of_trapped_internalvar ();
(its caller). */
/* FRAME_CHAIN takes a frame_info with a frame's nominal address in fi->frame,
and produces the frame's chain-pointer.
However, if FRAME_CHAIN_VALID returns zero,
it means the given frame is the outermost one and has no caller. */
and produces the frame's chain-pointer. */
/* (caller fp is saved at 8(fp)) */
#define FRAME_CHAIN(fi) (read_memory_integer ((fi)->frame + 8, 4))
#define FRAME_CHAIN_VALID(chain, thisframe) \
(chain != 0 && (outside_startup_file (FRAME_SAVED_PC (thisframe))))
/* Define other aspects of the stack frame. */
/* We need the boundaries of the text in the exec file, as a kludge,