aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-i386v.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-03-21 01:56:01 +0000
committerFred Fish <fnf@specifix.com>1992-03-21 01:56:01 +0000
commit5e2e79f859325ef28cbc98c6704a72de847e5711 (patch)
tree7bb6d0ceea0015d4a779b234b07ea8fb87ca79bf /gdb/tm-i386v.h
parent9abf9406705ea8a98ba7ca4e2a42c80711a4d525 (diff)
downloadgdb-5e2e79f859325ef28cbc98c6704a72de847e5711.zip
gdb-5e2e79f859325ef28cbc98c6704a72de847e5711.tar.gz
gdb-5e2e79f859325ef28cbc98c6704a72de847e5711.tar.bz2
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.
Diffstat (limited to 'gdb/tm-i386v.h')
-rw-r--r--gdb/tm-i386v.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/gdb/tm-i386v.h b/gdb/tm-i386v.h
index 01644e8..21fca33 100644
--- a/gdb/tm-i386v.h
+++ b/gdb/tm-i386v.h
@@ -225,19 +225,13 @@ i386_skip_prologue PARAMS ((int));
(its caller). */
/* FRAME_CHAIN takes a frame's nominal address
- 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. */
#define FRAME_CHAIN(thisframe) \
- (outside_startup_file ((thisframe)->pc) ? \
+ (!inside_entry_file ((thisframe)->pc) ? \
read_memory_integer ((thisframe)->frame, 4) :\
0)
-#define FRAME_CHAIN_VALID(chain, thisframe) \
- (chain != 0 && (outside_startup_file (FRAME_SAVED_PC (thisframe))))
-
/* Define other aspects of the stack frame. */
/* A macro that tells us whether the function invocation represented