OSDN Git Service

* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc
authorDaniel Jacobowitz <dan@debian.org>
Mon, 9 Feb 2009 00:07:53 +0000 (00:07 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Mon, 9 Feb 2009 00:07:53 +0000 (00:07 +0000)
commitaa9e163aeabac07be9e5d02ca7c610e38c22adb6
tree2ea47a5b78c73d7015a85278eef135e63a3018e0
parent49431235476ec3ac86c03f3fd3f96405fd6f44d5
* 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