]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: remove SYMBOL_*_OPS macros
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 19 Jan 2024 20:32:32 +0000 (15:32 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 20 Jan 2024 02:51:56 +0000 (21:51 -0500)
commit7ae24327467750c445733e40d840e502795dbdf3
tree48df8ef02f8194822d45d273ac6c92ae6d281103
parent4a2318c9858fdb1899157339f526df3d20e43cfe
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>
gdb/ax-gdb.c
gdb/compile/compile-c-symbols.c
gdb/dwarf2/loc.c
gdb/dwarf2/read.c
gdb/eval.c
gdb/findvar.c
gdb/frame.c
gdb/printcmd.c
gdb/stack.c
gdb/symtab.h
gdb/tracepoint.c