Preliminary cleanup for splitting host/native/target.
[deliverable/binutils-gdb.git] / gdb / tm-sun386.h
index 3c5b696bbc6e97c862d63ff286876c5a9b95ec2b..e4da6a601ac13892ecc78c0b6606f0c99618dfb5 100644 (file)
@@ -228,19 +228,13 @@ double_to_i387 PARAMS ((char *, char *));
    (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
This page took 0.023296 seconds and 4 git commands to generate.