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 dot kratochvil at redhat dot com, tromey at redhat dot com
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Thu, 18 Jul 2013 17:27:35 -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> <CADPb22T8pw_BkCg8RdATRhiANqNwGX33X4KcOtG_+vRcKGZ65w at mail dot gmail dot com> <20130718163310 dot GA14833 at host2 dot jankratochvil dot net>
I wrote:
> So how about this patch?
> Regression tested on amd64-linux with --enable-libmcheck,
> and verified it fixes the reread.exp regression.
>
> 2013-07-18 Doug Evans <dje@google.com>
>
> * exec.h (remove_target_sections): Delete arg abfd.
> * exec.c (remove_target_sections): Delete arg abfd.
> (exec_close): Update call to remove_target_sections.
> * solib.c (update_solib_list): Ditto.
> (reload_shared_libraries_1): Ditto.
> (clear_solib): Ditto, and unconditionally call remove_target_sections.
Aaahhh.
This time with the right ChangeLog entry.
2013-07-18 Doug Evans <dje@google.com>
* exec.h (remove_target_sections): Delete arg abfd.
* exec.c (exec_close): Update call to remove_target_sections.
(remove_target_sections): Delete arg abfd.
* solib.c (update_solib_list): Ditto.
(reload_shared_libraries_1): Ditto.
(clear_solib): Ditto, and unconditionally call remove_target_sections.
* target.h (struct target_section): Rename key to owner.
All uses updated.