diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-01-27 22:08:54 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-02-06 16:03:46 -0500 |
commit | 32177d6e39a2ed82fdafd7c41456c311b64d09fc (patch) | |
tree | 898327974f91be4366d3dd7806f6692364a7f85a /gdb/dwarf2 | |
parent | d9743061f92738a6c3f311d640e614a5a2f01b1e (diff) | |
download | gdb-32177d6e39a2ed82fdafd7c41456c311b64d09fc.zip gdb-32177d6e39a2ed82fdafd7c41456c311b64d09fc.tar.gz gdb-32177d6e39a2ed82fdafd7c41456c311b64d09fc.tar.bz2 |
gdb: remove SYMBOL_INLINED macro
Add a getter and a setter for whether a symbol is inlined. Remove the
corresponding macro and adjust all callers.
Change-Id: I934468da3b5a32dd6b161a6f252a6b1b94737279
Diffstat (limited to 'gdb/dwarf2')
-rw-r--r-- | gdb/dwarf2/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 259401f..95d4d6f 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -21794,7 +21794,7 @@ new_symbol (struct die_info *die, struct type *type, struct dwarf2_cu *cu, /* SYMBOL_BLOCK_VALUE (sym) will be filled in later by finish_block. */ sym->set_aclass_index (LOC_BLOCK); - SYMBOL_INLINED (sym) = 1; + sym->set_is_inlined (1); list_to_add = cu->list_in_scope; break; case DW_TAG_template_value_param: |