diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-19 22:31:55 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-02-06 15:48:19 -0500 |
commit | c1e35bc9c6b9d7efe0f720394b1febe71bbc728b (patch) | |
tree | 8b0481da88602b1f00848f161d7493612ca179c8 /gdb/buildsym.c | |
parent | af39c5c8749757724a0f62dcb51be59cf3ecc678 (diff) | |
download | gdb-c1e35bc9c6b9d7efe0f720394b1febe71bbc728b.zip gdb-c1e35bc9c6b9d7efe0f720394b1febe71bbc728b.tar.gz gdb-c1e35bc9c6b9d7efe0f720394b1febe71bbc728b.tar.bz2 |
gdb: remove COMPUNIT_BLOCK_LINE_SECTION macro, add getter/setter
Add a getter and a setter for a compunit_symtab's block line section. Remove
the corresponding macro and adjust all callers.
Change-Id: I3eb1a323388ad55eae8bfa45f5bc4a08dc3df455
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 8474149..1b162da 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -1022,7 +1022,7 @@ buildsym_compunit::end_symtab_with_blockvector (struct block *static_block, set_block_compunit_symtab (b, cu); } - COMPUNIT_BLOCK_LINE_SECTION (cu) = section; + cu->set_block_line_section (section); COMPUNIT_MACRO_TABLE (cu) = release_macros (); |