* sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we're

in a function prologue before the SAVE instruction.
	(sparc_frame_saved_pc): Ditto.
	* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
This commit is contained in:
Dawn Perchik 1998-07-23 22:14:48 +00:00
parent dd473edc9f
commit 79dc930562
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
Thu Jul 23 15:07:40 1998 Dawn Perchik <dawn@cygnus.com>
* sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we're
in a function prologue before the SAVE instruction.
(sparc_frame_saved_pc): Ditto.
* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
Thu Jul 23 14:58:09 1998 Dawn Perchik <dawn@cygnus.com>
* i386-tdep.c (i386_get_frame_setup): Recognize function

View File

@ -329,6 +329,7 @@ sparc_extract_struct_value_address PARAMS ((char [REGISTER_BYTES]));
#define EXTRA_FRAME_INFO \
CORE_ADDR bottom; \
int in_prologue; \
int flat; \
/* Following fields only relevant for flat frames. */ \
CORE_ADDR pc_addr; \