Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32)

Jan Kratochvil
2007-11-30T11:10:31Z

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