diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-19 22:43:56 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-02-06 15:48:19 -0500 |
commit | 10cc645b6a09c58cf1a5ce53accbe6cf3178ca12 (patch) | |
tree | 1c66ae2f2ca011fa051bee725a67cf3180123704 /gdb/buildsym.c | |
parent | 3908b699f8d08499ad53adcb34e8a4675cf39142 (diff) | |
download | fsf-binutils-gdb-10cc645b6a09c58cf1a5ce53accbe6cf3178ca12.zip fsf-binutils-gdb-10cc645b6a09c58cf1a5ce53accbe6cf3178ca12.tar.gz fsf-binutils-gdb-10cc645b6a09c58cf1a5ce53accbe6cf3178ca12.tar.bz2 |
gdb: remove COMPUNIT_MACRO_TABLE macro, add getter/setter
Add a getter and a setter for a compunit_symtab's macro table. Remove the
corresponding macro and adjust all callers.
Change-Id: I00615ea72d5ac43d9a865e941cb2de0a979c173a
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 1b162da..b42c408 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -1024,7 +1024,7 @@ buildsym_compunit::end_symtab_with_blockvector (struct block *static_block, cu->set_block_line_section (section); - COMPUNIT_MACRO_TABLE (cu) = release_macros (); + cu->set_macro_table (release_macros ()); /* Default any symbols without a specified symtab to the primary symtab. */ { |