OSDN Git Service

* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc
authordrow <drow>
Sat, 7 Feb 2009 20:41:09 +0000 (20:41 +0000)
committerdrow <drow>
Sat, 7 Feb 2009 20:41:09 +0000 (20:41 +0000)
commitafbd7f58cb51d21252f321da3bdf24bcf2466c5a
tree34c90ee2cef87a6871584c7dfb9c86cfadbd6002
parent07a9629cc69b61284ec00ae9a50471ccc35c11ae
* 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