* mips-tdep.c (mips_init_extra_frame_info): Return early for
dummy frames.
This commit is contained in:
parent
1a677ea81e
commit
f2c16bd605
2 changed files with 10 additions and 1 deletions
|
@ -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>
|
2003-01-27 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* sentinel-frame.h, sentinel-frame.c: New files.
|
* sentinel-frame.h, sentinel-frame.c: New files.
|
||||||
|
|
|
@ -2468,9 +2468,13 @@ static void
|
||||||
mips_init_extra_frame_info (int fromleaf, struct frame_info *fci)
|
mips_init_extra_frame_info (int fromleaf, struct frame_info *fci)
|
||||||
{
|
{
|
||||||
int regnum;
|
int regnum;
|
||||||
|
mips_extra_func_info_t proc_desc;
|
||||||
|
|
||||||
|
if (get_frame_type (fci) == DUMMY_FRAME)
|
||||||
|
return;
|
||||||
|
|
||||||
/* Use proc_desc calculated in frame_chain */
|
/* Use proc_desc calculated in frame_chain */
|
||||||
mips_extra_func_info_t proc_desc =
|
proc_desc =
|
||||||
get_next_frame (fci)
|
get_next_frame (fci)
|
||||||
? cached_proc_desc
|
? cached_proc_desc
|
||||||
: find_proc_desc (get_frame_pc (fci), get_next_frame (fci), 1);
|
: find_proc_desc (get_frame_pc (fci), get_next_frame (fci), 1);
|
||||||
|
|
Loading…
Reference in a new issue