This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Runtime regression for gdb.base/reread.exp & co. [Re: [RFA] Remove target_section.bfd]
- From: Doug Evans <dje at google dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Thu, 18 Jul 2013 09:24:34 -0700
- Subject: Re: Runtime regression for gdb.base/reread.exp & co. [Re: [RFA] Remove target_section.bfd]
- References: <yjt2ip0bbg2u dot fsf at ruffy dot mtv dot corp dot google dot com> <20130718105435 dot GA26949 at host2 dot jankratochvil dot net>
On Thu, Jul 18, 2013 at 3:54 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Tue, 16 Jul 2013 00:42:33 +0200, Doug Evans wrote:
>> 2013-07-15 Doug Evans <dje@google.com>
>>
>> * target.h (struct target_section): Delete member bfd.
>> All users updated to use the_bfd_section->owner instead.
>> * exec.c (add_to_section_table): Assert bfd is expected value.
>> Remove initialization of target_section.bfd.
>> (remove_target_sections): Update.
>> (section_table_available_memory): Update.
>> (section_table_xfer_memory_partial): Update.
>> (print_section_info): Update.
>> (exec_set_section_address): Update.
>> * record-full.c (record_full_core_xfer_partial): Update.
>> * solib-svr4.c (svr4_relocate_section_addresses): Update.
>> * solib-target.c (solib_target_relocate_section_addresses): Update.
>> * symfile.c (build_section_addr_info_from_section_table): Update.
>> * target.c (memory_xfer_live_readonly_partial): Update.
>> (memory_xfer_partial_1): Update.
>
> Running gdb/testsuite/gdb.base/reread.exp ...
> -PASS: gdb.base/reread.exp: second pass: breakpoint foo in first file
> +FAIL: gdb.base/reread.exp: second pass: breakpoint foo in first file
> -PASS: gdb.base/reread.exp: second pass: run to foo() second time
> +FAIL: gdb.base/reread.exp: second pass: run to foo() second time (timeout)
>
> This happens on all tested platforms like Fedora 19 or also on CentOS-6 etc.
> Everything for x86_64/x86_64-m32/i686. I do not have it tested for CentOS-5.
>
> Occasional gdb.ada/exec_changed.exp and gdb.base/chng-syms.exp FAILs are also
> related I guess but we will see after a fix.
Blech, I can't recreate this on an ubuntu or fc17 system.