diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-10-10 15:47:41 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-10-19 10:57:51 -0400 |
commit | 25b5a04e858ae7c0dd859c082b35f63d9ee50feb (patch) | |
tree | 565967d8da985be9a01d4a4a169114287733a14d /gdb/progspace.h | |
parent | 4ac91b6bb82e82066ad10914121c75d7c99b7bbf (diff) | |
download | gdb-25b5a04e858ae7c0dd859c082b35f63d9ee50feb.zip gdb-25b5a04e858ae7c0dd859c082b35f63d9ee50feb.tar.gz gdb-25b5a04e858ae7c0dd859c082b35f63d9ee50feb.tar.bz2 |
gdb: remove target_section_table typedef
Remove this typedef. I think that hiding the real type (std::vector)
behind a typedef just hinders readability.
Change-Id: I80949da3392f60a2826c56c268e0ec6f503ad79f
Approved-By: Pedro Alves <pedro@palves.net>
Reviewed-By: Reviewed-By: Lancelot Six <lancelot.six@amd.com>
Diffstat (limited to 'gdb/progspace.h')
-rw-r--r-- | gdb/progspace.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/progspace.h b/gdb/progspace.h index 0930d85..20dfc2e 100644 --- a/gdb/progspace.h +++ b/gdb/progspace.h @@ -291,7 +291,7 @@ struct program_space /* Add the sections array defined by SECTIONS to the current set of target sections. */ void add_target_sections (const void *owner, - const target_section_table §ions); + const std::vector<target_section> §ions); /* Add the sections of OBJFILE to the current set of target sections. They are given OBJFILE as the "owner". */ @@ -304,7 +304,7 @@ struct program_space } /* Return a reference to the M_TARGET_SECTIONS table. */ - target_section_table &target_sections () + std::vector<target_section> &target_sections () { return m_target_sections; } @@ -380,7 +380,7 @@ struct program_space private: /* The set of target sections matching the sections mapped into this program space. Managed by both exec_ops and solib.c. */ - target_section_table m_target_sections; + std::vector<target_section> m_target_sections; }; /* An address space. It is used for comparing if |