OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fd82d0
)
* dwarf2.c (comp_unit_find_nearest_line): Check for end of
author
ciceron
<ciceron>
Sat, 6 Oct 2001 10:01:08 +0000
(10:01 +0000)
committer
ciceron
<ciceron>
Sat, 6 Oct 2001 10:01:08 +0000
(10:01 +0000)
compilation unit.
bfd/ChangeLog
patch
|
blob
|
history
bfd/dwarf2.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
dc4a5d7
..
b867e71
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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>
* bfd.c (bfd_assert): Report bfd version.
diff --git
a/bfd/dwarf2.c
b/bfd/dwarf2.c
index
7126360
..
6edbc0b
100644
(file)
--- a/
bfd/dwarf2.c
+++ b/
bfd/dwarf2.c
@@
-1551,7
+1551,8
@@
comp_unit_find_nearest_line (unit, addr,
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;
return false;