* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc
authorDaniel Jacobowitz <drow@false.org>
Mon, 9 Feb 2009 00:07:53 +0000 (00:07 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 9 Feb 2009 00:07:53 +0000 (00:07 +0000)
commit5734ee8bab79bac791da598a0c62e3ac6919ba8d
tree82357b31b1eb41b894f739d6d2c2a5e19c1d96ed
parent10a519bbc67e4197f1584cdf7e7d8390f8c0e4d8
* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc
inside the loop.  Only call addrmap_set_empty if the compilation unit
had DW_AT_high_pc and DW_AT_low_pc.  Update call to
scan_partial_symbols.
(scan_partial_symbols): Take NEED_PC argument and pass it along with
LOWPC and HIGHPC.
(add_partial_namespace): Take NEED_PC argument and pass it through.
(add_partial_subprogram): Take NEED_PC argument.  Update the addrmap
if necessary.
gdb/dwarf2read.c