aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/d10v
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-30 10:56:16 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-30 10:56:16 +0000
commitb69600940692d11967b2ae8ceabed2c6c2474c37 (patch)
treed6b88df7123e7340631685d782fe3f87310793e7 /gdb/config/d10v
parent8743fc885f33a57c09d1822b6fd5d6f6cc99ec9b (diff)
downloadgdb-b69600940692d11967b2ae8ceabed2c6c2474c37.zip
gdb-b69600940692d11967b2ae8ceabed2c6c2474c37.tar.gz
gdb-b69600940692d11967b2ae8ceabed2c6c2474c37.tar.bz2
CARP:
Cleanup FRAME_CHAIN_VALID. Replace all macro's with functions.
Diffstat (limited to 'gdb/config/d10v')
-rw-r--r--gdb/config/d10v/tm-d10v.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/d10v/tm-d10v.h b/gdb/config/d10v/tm-d10v.h
index 1fc5052..ef75bc5 100644
--- a/gdb/config/d10v/tm-d10v.h
+++ b/gdb/config/d10v/tm-d10v.h
@@ -213,8 +213,8 @@ extern void d10v_init_extra_frame_info PARAMS (( int fromleaf, struct frame_info
(FRAMELESS) = frameless_look_for_prologue(FI)
#define FRAME_CHAIN(FRAME) d10v_frame_chain(FRAME)
-#define FRAME_CHAIN_VALID(chain,frame) \
- ((chain) != 0 && (frame) != 0 && (frame)->pc > IMEM_START)
+extern int d10v_frame_chain_valid PARAMS ((CORE_ADDR, struct frame_info *));
+#define FRAME_CHAIN_VALID(chain, thisframe) d10v_frame_chain_valid (chain, thisframe)
#define FRAME_SAVED_PC(FRAME) ((FRAME)->return_pc)
#define FRAME_ARGS_ADDRESS(fi) (fi)->frame
#define FRAME_LOCALS_ADDRESS(fi) (fi)->frame