Add target_section constructor
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:33 +0000 (15:04 -0600)
commit6be2a9ab1fba5f876c8cb2566280c5e4e6959d6e
treeb56cebc7b136717accecbf580534524078a6e91c
parent8ee54925b48985e8e7102221e698bf50b800dd81
Add target_section constructor

This adds a constructor to target_section, simplifying the code that
creates instances of this.

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

* target-section.h (struct target_section): Add constructor.
* exec.c (build_section_table, add_target_sections_of_objfile):
Update.
* corelow.c (core_target::build_file_mappings): Update.
gdb/ChangeLog
gdb/corelow.c
gdb/exec.c
gdb/target-section.h
This page took 0.024654 seconds and 4 git commands to generate.