* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc
authorDaniel Jacobowitz <drow@false.org>
Sat, 7 Feb 2009 20:41:09 +0000 (20:41 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sat, 7 Feb 2009 20:41:09 +0000 (20:41 +0000)
commitd3f36a39b66fa5f6f4791091b8c19e7c28133a1d
tree2c237801cef66d831e73b55a0619744e9f958dda
parent47a3467ae53cfd946a966476b7643bb2345d0d6e
* 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/ChangeLog