* arm-tdep.c (thumb_scan_prologue): Don't try to analyze
the function at zero if we have no symbols.
This commit is contained in:
parent
295bf0ffc7
commit
f7060f859d
2 changed files with 8 additions and 3 deletions
|
@ -466,9 +466,9 @@ thumb_scan_prologue (CORE_ADDR prev_pc, struct arm_prologue_cache *cache)
|
|||
prologue_end = sal.end; /* (probably means no prologue) */
|
||||
}
|
||||
else
|
||||
/* We're in the boondocks: allow for
|
||||
16 pushes, an add, and "mv fp,sp". */
|
||||
prologue_end = prologue_start + 40;
|
||||
/* We're in the boondocks: we have no idea where the start of the
|
||||
function is. */
|
||||
return;
|
||||
|
||||
prologue_end = min (prologue_end, prev_pc);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue