diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2024-01-19 15:32:32 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-01-19 21:51:56 -0500 |
commit | 7ae24327467750c445733e40d840e502795dbdf3 (patch) | |
tree | 48df8ef02f8194822d45d273ac6c92ae6d281103 /gdb/dwarf2/read.c | |
parent | 4a2318c9858fdb1899157339f526df3d20e43cfe (diff) | |
download | gdb-7ae24327467750c445733e40d840e502795dbdf3.zip gdb-7ae24327467750c445733e40d840e502795dbdf3.tar.gz gdb-7ae24327467750c445733e40d840e502795dbdf3.tar.bz2 |
gdb: remove SYMBOL_*_OPS macros
Remove SYMBOL_BLOCK_OPS, SYMBOL_COMPUTED_OPS and SYMBOL_REGISTER_OPS, in
favor of methods on struct symbol. More changes could be done here to
improve the design and make things safer, but I just wanted to do a
straightforward change to remove the macros for now.
Change-Id: I27adb74a28ea3c0dc9a85c2953413437cd95ad21
Reviewed-by: Kevin Buettner <kevinb@redhat.com>
Diffstat (limited to 'gdb/dwarf2/read.c')
-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 6be8f81..bdfda31 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -18685,7 +18685,7 @@ var_decode_location (struct attribute *attr, struct symbol *sym, dwarf2_symbol_mark_computed (attr, sym, cu, 0); - if (SYMBOL_COMPUTED_OPS (sym)->location_has_loclist) + if (sym->computed_ops ()->location_has_loclist) cu->has_loclist = true; } |