* symtab.c (skip_prologue_using_sal): Allow the end of the prologue
sal to be bigger than the end of the function.
This commit is contained in:
parent
968b53918b
commit
9193427347
@ -1,3 +1,8 @@
|
||||
2007-04-17 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* symtab.c (skip_prologue_using_sal): Allow the end of the prologue
|
||||
sal to be bigger than the end of the function.
|
||||
|
||||
2007-04-17 Maciej W. Rozycki <macro@mips.com>
|
||||
Nigel Stephens <nigel@mips.com>
|
||||
|
||||
|
@ -4111,7 +4111,7 @@ skip_prologue_using_sal (CORE_ADDR func_addr)
|
||||
/* If there is only one sal that covers the entire function,
|
||||
then it is probably a single line function, like
|
||||
"foo(){}". */
|
||||
if (prologue_sal.end == end_pc)
|
||||
if (prologue_sal.end >= end_pc)
|
||||
return 0;
|
||||
while (prologue_sal.end < end_pc)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user