* cadillac.c (kernel_dispatch): Make return type void.
[deliverable/binutils-gdb.git] / gdb / tm-tahoe.h
index 9456808e7fe1c5b6d72713a3fc491a7171efc3f6..4640b9512ae4e0158232cb3018b1e203fb48f69f 100644 (file)
@@ -208,22 +208,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
    (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. */
 
 /* In the case of the Tahoe, the frame's nominal address is the FP value,
    and it points to the old FP */
 
 #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.  */
 
 /* Saved PC */
@@ -233,7 +227,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* In most of GDB, getting the args address is too important to
    just say "I don't know". */
 
-#define FRAME_ARGS_ADDRESS(fi) ((fi)->frame+4)
+#define FRAME_ARGS_ADDRESS(fi) ((fi)->frame)
 
 /* Address to use as an anchor for finding local variables */
 
This page took 0.024537 seconds and 4 git commands to generate.