Remove current_target_sections macro
authorTom Tromey <tom@tromey.com>
Thu, 29 Oct 2020 21:04:33 +0000 (15:04 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 29 Oct 2020 21:04:36 +0000 (15:04 -0600)
commitb55221abba07302964f697db7eb996ff33b26f5a
treefeb17b005f5243dc5e3463314c2627764f8f47e5
parent5a36e71525564fe8767bc9f00b29dcc0fec59837
Remove current_target_sections macro

This removes the current_target_sections macro, replacing it with uses
of the appropriate member from current_program_space.

gdb/ChangeLog
2020-10-29  Tom Tromey  <tom@tromey.com>

* progspace.h (current_target_sections): Remove macro.
* solib-svr4.c (scan_dyntag): Update.
* solib-dsbt.c (scan_dyntag): Update.
* exec.c (exec_target::close): Update.
(add_target_sections, add_target_sections_of_objfile)
(remove_target_sections, exec_target::get_section_table)
(exec_target::files_info, set_section_command)
(exec_set_section_address, exec_target::has_memory)
(exec_target::has_memory): Update.
gdb/ChangeLog
gdb/exec.c
gdb/progspace.h
gdb/solib-dsbt.c
gdb/solib-svr4.c
This page took 0.02639 seconds and 4 git commands to generate.