This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb dwarf2read.c
- From: drow at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 9 Feb 2009 00:07:53 -0000
- Subject: src/gdb dwarf2read.c
CVSROOT: /cvs/src
Module name: src
Changes by: drow@sourceware.org 2009-02-09 00:07:53
Modified files:
gdb : dwarf2read.c
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.292&r2=1.293