From e1703d1f535a7320b1043c8330f17728087e4afd Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 5 Nov 1996 19:06:11 +0000 Subject: Tue Nov 5 10:21:02 1996 Michael Snyder * m32r-tdep.c: Improved frame_chain and fn prologue analysis. * config/tm-m32r.h: Add framesize and register to extra_frame_info. --- gdb/config/m32r/tm-m32r.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'gdb/config/m32r') diff --git a/gdb/config/m32r/tm-m32r.h b/gdb/config/m32r/tm-m32r.h index 4dc04be..f9d1ad8 100644 --- a/gdb/config/m32r/tm-m32r.h +++ b/gdb/config/m32r/tm-m32r.h @@ -92,13 +92,18 @@ struct type; struct value; #endif -/* #define EXTRA_FRAME_INFO struct frame_saved_regs fsr; */ /* Define other aspects of the stack frame. - we keep a copy of the worked out return pc lying around, since it - is a useful bit of info */ + We keep the offsets of all saved registers, 'cause we need 'em a lot! + We also keep the current size of the stack frame, and whether + the frame pointer is valid (for frameless functions, and when we're + still in the prologue of a function with a frame) */ /* mvs_check EXTRA_FRAME_INFO */ -#define EXTRA_FRAME_INFO struct frame_saved_regs fsr; +#define EXTRA_FRAME_INFO \ + struct frame_saved_regs fsr; \ + int framesize; \ + int using_frame_pointer; + extern void m32r_init_extra_frame_info PARAMS ((struct frame_info *fi)); /* mvs_check INIT_EXTRA_FRAME_INFO */ -- cgit v1.1