summaryrefslogtreecommitdiff
path: root/gdb/config/v850
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-05-16 08:23:21 +0000
committerCorinna Vinschen <corinna@vinschen.de>2002-05-16 08:23:21 +0000
commitd329d04215fb4969e716b4a238ab23a776a50aa4 (patch)
tree55720ddfd392d636f7e9cf6e24311de38ba28ffb /gdb/config/v850
parent1fad387cee3dc59d59f346ba9ff3bc680f6c8a63 (diff)
downloadgdb-d329d04215fb4969e716b4a238ab23a776a50aa4.tar.gz
* v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra
frame info. Use frame_info's saved_regs instead of matching member in extra_frame_info throughout. (v850_frame_init_saved_regs): New function. (v850_init_extra_frame_info): Move most functionality into v850_frame_init_saved_regs(). * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition. (v850_frame_find_saved_regs): Remove declaration. (FRAME_FIND_SAVED_REGS): Remove definition. (v850_frame_init_saved_regs): Add declaration. (FRAME_INIT_SAVED_REGS): Add definition.
Diffstat (limited to 'gdb/config/v850')
-rw-r--r--gdb/config/v850/tm-v850.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/config/v850/tm-v850.h b/gdb/config/v850/tm-v850.h
index c085cb51ca3..3d6f2d1bad0 100644
--- a/gdb/config/v850/tm-v850.h
+++ b/gdb/config/v850/tm-v850.h
@@ -99,15 +99,12 @@ struct frame_saved_regs;
struct type;
struct value;
-#define EXTRA_FRAME_INFO struct frame_saved_regs fsr;
-
extern void v850_init_extra_frame_info (struct frame_info *fi);
#define INIT_EXTRA_FRAME_INFO(fromleaf, fi) v850_init_extra_frame_info (fi)
#define INIT_FRAME_PC /* Not necessary */
-extern void v850_frame_find_saved_regs (struct frame_info *fi,
- struct frame_saved_regs *regaddr);
-#define FRAME_FIND_SAVED_REGS(fi, regaddr) regaddr = fi->fsr
+extern void v850_frame_init_saved_regs (struct frame_info *fi);
+#define FRAME_INIT_SAVED_REGS(FI) v850_frame_init_saved_regs (FI)
extern CORE_ADDR v850_frame_chain (struct frame_info *fi);
#define FRAME_CHAIN(fi) v850_frame_chain (fi)