OSDN Git Service

* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc
authordrow <drow>
Mon, 9 Feb 2009 00:07:53 +0000 (00:07 +0000)
committerdrow <drow>
Mon, 9 Feb 2009 00:07:53 +0000 (00:07 +0000)
commitd4a00b4b4526f9790915ad9560fb3ccb9875ae70
treec6bcf0bb26c4049902e9bfb954271bbb5da8c1c9
parentdc4285ee994b148475075edbaeddce01b2d5e69a
* 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