* dwarf2read.c (read_func_scope): Do not complain for
external function if bounds are not found.
This commit is contained in:
parent
27d3a1a248
commit
ae4d0c03d9
@ -1,3 +1,8 @@
|
|||||||
|
2010-06-01 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||||
|
|
||||||
|
* dwarf2read.c (read_func_scope): Do not complain for
|
||||||
|
external function if bounds are not found.
|
||||||
|
|
||||||
2010-06-01 Pedro Alves <pedro@codesourcery.com>
|
2010-06-01 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* NEWS: Mention gdbserver fast tracepoints support.
|
* NEWS: Mention gdbserver fast tracepoints support.
|
||||||
|
@ -3904,9 +3904,11 @@ read_func_scope (struct die_info *die, struct dwarf2_cu *cu)
|
|||||||
/* Ignore functions with missing or invalid low and high pc attributes. */
|
/* Ignore functions with missing or invalid low and high pc attributes. */
|
||||||
if (!dwarf2_get_pc_bounds (die, &lowpc, &highpc, cu, NULL))
|
if (!dwarf2_get_pc_bounds (die, &lowpc, &highpc, cu, NULL))
|
||||||
{
|
{
|
||||||
complaint (&symfile_complaints,
|
attr = dwarf2_attr (die, DW_AT_external, cu);
|
||||||
_("cannot get low and high bounds for subprogram DIE at %d"),
|
if (!attr || !DW_UNSND (attr))
|
||||||
die->offset);
|
complaint (&symfile_complaints,
|
||||||
|
_("cannot get low and high bounds for subprogram DIE at %d"),
|
||||||
|
die->offset);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user