lowpc,highpc args to addrmap_set_empty.
+2010-03-02 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (add_partial_subprogram): Add missing baseaddr to
+ lowpc,highpc args to addrmap_set_empty.
+
2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
* amd64-tdep.c (amd64_byte_names): New.
baseaddr = ANOFFSET (objfile->section_offsets,
SECT_OFF_TEXT (objfile));
addrmap_set_empty (objfile->psymtabs_addrmap,
- pdi->lowpc, pdi->highpc - 1,
+ pdi->lowpc + baseaddr,
+ pdi->highpc - 1 + baseaddr,
cu->per_cu->psymtab);
}
if (!pdi->is_declaration)