diff options
author | Kevin Buettner <kevinb@redhat.com> | 2003-01-28 16:31:11 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2003-01-28 16:31:11 +0000 |
commit | f2c16bd605503a2ff9a98a16ca7049ef4319d690 (patch) | |
tree | a2f7842a9d4a129119f5c53ed931e5399bc0397f | |
parent | 1a677ea81e3a5f6f25761f864d27d42210310578 (diff) | |
download | gdb-f2c16bd605503a2ff9a98a16ca7049ef4319d690.zip gdb-f2c16bd605503a2ff9a98a16ca7049ef4319d690.tar.gz gdb-f2c16bd605503a2ff9a98a16ca7049ef4319d690.tar.bz2 |
* mips-tdep.c (mips_init_extra_frame_info): Return early for
dummy frames.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/mips-tdep.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 216b34f..9bbf775 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-01-28 Kevin Buettner <kevinb@redhat.com> + + * mips-tdep.c (mips_init_extra_frame_info): Return early for + dummy frames. + 2003-01-27 Andrew Cagney <ac131313@redhat.com> * sentinel-frame.h, sentinel-frame.c: New files. diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 04db937..5898e57 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -2468,9 +2468,13 @@ static void mips_init_extra_frame_info (int fromleaf, struct frame_info *fci) { int regnum; + mips_extra_func_info_t proc_desc; + + if (get_frame_type (fci) == DUMMY_FRAME) + return; /* Use proc_desc calculated in frame_chain */ - mips_extra_func_info_t proc_desc = + proc_desc = get_next_frame (fci) ? cached_proc_desc : find_proc_desc (get_frame_pc (fci), get_next_frame (fci), 1); |