From 392a587b0562bfd8561bc15ad2625a4f49f461f0 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Tue, 25 May 1999 18:09:09 +0000 Subject: import gdb-1999-05-25 snapshot --- gdb/config/arc/tm-arc.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'gdb/config/arc') diff --git a/gdb/config/arc/tm-arc.h b/gdb/config/arc/tm-arc.h index e170d2d..6eb5d81 100644 --- a/gdb/config/arc/tm-arc.h +++ b/gdb/config/arc/tm-arc.h @@ -265,17 +265,11 @@ extern void arc_software_single_step PARAMS ((unsigned int, int)); and has no caller. */ #define FRAME_CHAIN_VALID(chain, thisframe) nonnull_frame_chain_valid (chain, thisframe) -/* A macro that tells us whether the function invocation represented - by FI does not have a frame on the stack associated with it. If it - does not, FRAMELESS is set to 1, else 0. */ - -#define FRAMELESS_FUNCTION_INVOCATION(FI, FRAMELESS) \ - do { \ - if ((FI)->signal_handler_caller) \ - (FRAMELESS) = 0; \ - else \ - (FRAMELESS) = frameless_look_for_prologue (FI); \ - } while (0) +/* An expression that tells us whether the function invocation represented + by FI does not have a frame on the stack associated with it. */ + +#define FRAMELESS_FUNCTION_INVOCATION(FI) \ + (((FI)->signal_handler_caller) ? 0 : frameless_look_for_prologue (FI)) /* Where is the PC for a specific frame. A leaf function may never save blink, so we have to check for that here. */ @@ -300,7 +294,7 @@ CORE_ADDR arc_frame_saved_pc PARAMS ((struct frame_info *)); /* Set NUMARGS to the number of args passed to a frame. Can return -1, meaning no way to tell. */ -#define FRAME_NUM_ARGS(numargs, fi) (numargs = -1) +#define FRAME_NUM_ARGS(fi) (-1) /* Return number of bytes at start of arglist that are not really args. */ -- cgit v1.1