* sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we're
authorDawn Perchik <dawn@cygnus>
Thu, 23 Jul 1998 22:14:48 +0000 (22:14 +0000)
committerDawn Perchik <dawn@cygnus>
Thu, 23 Jul 1998 22:14:48 +0000 (22:14 +0000)
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
gdb/config/sparc/tm-sparc.h

index d24a98f75d49a1116fb4bd0d7172b0ea46de9aac..5011a4a907e868d7bf6953b251db5ce7f853af6c 100644 (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
index ff5c6774a0a97e1aa766653fb12dbf508324ca30..cff31890a4ea662333adce80a902f99423a6f519 100644 (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;  \