aboutsummaryrefslogtreecommitdiff
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
commit3a06899a961edc2d09efd644816d91018435bbcd (patch)
tree8291c8768035b7a772fbe75c976c574f239c9eb9 /gdb/config/v850
parent629936c5b1a54efca1799cd95161d47ae6300572 (diff)
downloadgdb-3a06899a961edc2d09efd644816d91018435bbcd.zip
gdb-3a06899a961edc2d09efd644816d91018435bbcd.tar.gz
gdb-3a06899a961edc2d09efd644816d91018435bbcd.tar.bz2
* 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 c085cb5..3d6f2d1 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)