mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
* dwarf2.c (comp_unit_find_nearest_line): Check for end of
compilation unit.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-10-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
||||||
|
|
||||||
|
* dwarf2.c (comp_unit_find_nearest_line): Check for end of
|
||||||
|
compilation unit.
|
||||||
|
|
||||||
2001-10-06 Alan Modra <amodra@bigpond.net.au>
|
2001-10-06 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* bfd.c (bfd_assert): Report bfd version.
|
* bfd.c (bfd_assert): Report bfd version.
|
||||||
|
@ -1551,7 +1551,8 @@ comp_unit_find_nearest_line (unit, addr,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! scan_unit_for_functions (unit))
|
if (unit->first_child_die_ptr < unit->end_ptr
|
||||||
|
&& ! scan_unit_for_functions (unit))
|
||||||
{
|
{
|
||||||
unit->error = 1;
|
unit->error = 1;
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user