diff options
author | Dawn Perchik <dawn@cygnus> | 1998-07-23 22:14:48 +0000 |
---|---|---|
committer | Dawn Perchik <dawn@cygnus> | 1998-07-23 22:14:48 +0000 |
commit | 79dc930562b4ee85589e33813dabdbc96811cae3 (patch) | |
tree | 392e2320f91fec1fa17892106d71a7ba1329fac4 | |
parent | dd473edc9f14f4ca296a0ff6d8bd89ed4bf8534e (diff) | |
download | gdb-79dc930562b4ee85589e33813dabdbc96811cae3.zip gdb-79dc930562b4ee85589e33813dabdbc96811cae3.tar.gz gdb-79dc930562b4ee85589e33813dabdbc96811cae3.tar.bz2 |
* 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.
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/config/sparc/tm-sparc.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d24a98f..5011a4a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index ff5c677..cff3189 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; \ |