From 79dc930562b4ee85589e33813dabdbc96811cae3 Mon Sep 17 00:00:00 2001 From: Dawn Perchik Date: Thu, 23 Jul 1998 22:14:48 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 7 +++++++ gdb/config/sparc/tm-sparc.h | 1 + 2 files changed, 8 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d24a98f75d4..5011a4a907e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Thu Jul 23 15:07:40 1998 Dawn Perchik + + * 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 * i386-tdep.c (i386_get_frame_setup): Recognize function diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index ff5c6774a0a..cff31890a4e 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -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; \ -- 2.30.2