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: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Vladimir Prus <ghost at cs dot msu dot su>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 30 Nov 2007 12:10:21 +0100
- 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>
On Fri, 30 Nov 2007 08:42:00 +0100, Vladimir Prus wrote:
> Jan,
> I'm afraid this patch causes the following regression for me:
>
> FAIL: gdb.threads/thread_check.exp: breakpoint at tf
>
> This FAIL disappears as soon as I revert to revision 1.236 of
> gdb/dwarf2read.c -- right before your changes. Do you see the same
> failure?
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.
Thanks,
Jan