Re: Runtime regression for gdb.base/reread.exp & co. [Re: [RFA] Remove target_section.bfd]

Doug Evans
2013-07-19T00:27:45Z

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.