2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
* mips-tdep.c (mips_insn16_frame_this_id): Mark the outermost frame. (mips_insn32_frame_this_id): Likewise.
This commit is contained in:
parent
a103a963e0
commit
21327321a0
@ -1,3 +1,9 @@
|
||||
2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
* mips-tdep.c (mips_insn16_frame_this_id): Mark the outermost
|
||||
frame.
|
||||
(mips_insn32_frame_this_id): Likewise.
|
||||
|
||||
2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
* elfread.c (elf_symtab_read): Only mark a minimal symbol as
|
||||
|
@ -1814,6 +1814,9 @@ mips_insn16_frame_this_id (struct frame_info *this_frame, void **this_cache,
|
||||
{
|
||||
struct mips_frame_cache *info = mips_insn16_frame_cache (this_frame,
|
||||
this_cache);
|
||||
/* This marks the outermost frame. */
|
||||
if (info->base == 0)
|
||||
return;
|
||||
(*this_id) = frame_id_build (info->base, get_frame_func (this_frame));
|
||||
}
|
||||
|
||||
@ -2163,6 +2166,9 @@ mips_insn32_frame_this_id (struct frame_info *this_frame, void **this_cache,
|
||||
{
|
||||
struct mips_frame_cache *info = mips_insn32_frame_cache (this_frame,
|
||||
this_cache);
|
||||
/* This marks the outermost frame. */
|
||||
if (info->base == 0)
|
||||
return;
|
||||
(*this_id) = frame_id_build (info->base, get_frame_func (this_frame));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user