This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>, Jim Blandy <jimb at codesourcery dot com>
- Cc: Vladimir Prus <ghost at cs dot msu dot su>, gdb-patches at sources dot redhat dot com
- Date: Fri, 30 Nov 2007 09:56:13 -0500
- Subject: Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32)
- References: <20071009180246.GA26829@host0.dyn.jankratochvil.net> <20071009181701.GA30757@caradoc.them.org> <20071009185434.GA27810@host0.dyn.jankratochvil.net> <20071009185931.GA1220@caradoc.them.org> <20071124154339.GA14913@host0.dyn.jankratochvil.net> <E1Iy0Vd-0006lL-64@zigzag.lvk.cs.msu.su> <20071130111021.GA17867@host0.dyn.jankratochvil.net>
On Fri, Nov 30, 2007 at 12:10:21PM +0100, Jan Kratochvil wrote:
> It was not reproducible for me but the problem is Vladimir's i386 crti.S has
> DW_AT_ranges which overlap the main code (due to its .fini part). The main
> code full-symbols get ignored now due to it.
>
> Going to post a fix (try to load symtab for each matching psymtab?) and an
> updated testcase.
Jim, can we get your addrmap changes in as they are, instead of
working on a representation change (which was the state when they were
briefly discussed, in October)? After that, it's simple to solve this
problem more accurately by using addrmaps for symtabs too, not just
blocks.
--
Daniel Jacobowitz
CodeSourcery