binutils-gdb/gdb/dwarf2
Simon Marchi 4aeddc50d7 gdb: remove symbol value macros
Remove all macros related to getting and setting some symbol value:

    #define SYMBOL_VALUE(symbol)           (symbol)->value.ivalue
    #define SYMBOL_VALUE_ADDRESS(symbol)                         \
    #define SET_SYMBOL_VALUE_ADDRESS(symbol, new_value)    \
    #define SYMBOL_VALUE_BYTES(symbol)     (symbol)->value.bytes
    #define SYMBOL_VALUE_COMMON_BLOCK(symbol) (symbol)->value.common_block
    #define SYMBOL_BLOCK_VALUE(symbol)     (symbol)->value.block
    #define SYMBOL_VALUE_CHAIN(symbol)     (symbol)->value.chain
    #define MSYMBOL_VALUE(symbol)          (symbol)->value.ivalue
    #define MSYMBOL_VALUE_RAW_ADDRESS(symbol) ((symbol)->value.address + 0)
    #define MSYMBOL_VALUE_ADDRESS(objfile, symbol)                         \
    #define BMSYMBOL_VALUE_ADDRESS(symbol) \
    #define SET_MSYMBOL_VALUE_ADDRESS(symbol, new_value)   \
    #define MSYMBOL_VALUE_BYTES(symbol)    (symbol)->value.bytes
    #define MSYMBOL_BLOCK_VALUE(symbol)    (symbol)->value.block

Replace them with equivalent methods on the appropriate objects.

Change-Id: Iafdab3b8eefc6dc2fd895aa955bf64fafc59ed50
2022-04-11 10:45:36 -04:00
..
abbrev.c
abbrev.h
attribute.c
attribute.h
comp-unit-head.c
comp-unit-head.h
cu.c gdb: rename start_symtab/end_symtab to start_compunit_symtab/end_compunit_symtab 2022-04-04 12:58:07 -04:00
cu.h gdb: rename start_symtab/end_symtab to start_compunit_symtab/end_compunit_symtab 2022-04-04 12:58:07 -04:00
die.h
dwz.c
dwz.h
expr.c
expr.h Fix some stale header names from dwarf files 2022-03-22 09:33:49 +00:00
file-and-dir.h
frame-tailcall.c
frame-tailcall.h
frame.c Unify gdb printf functions 2022-03-29 12:46:24 -06:00
frame.h
index-cache.c Unify gdb printf functions 2022-03-29 12:46:24 -06:00
index-cache.h
index-common.c
index-common.h
index-write.c
index-write.h
leb.c
leb.h
line-header.c gdb: change file_file_name to return an std::string 2022-04-07 20:31:31 -04:00
line-header.h gdb: change file_file_name to return an std::string 2022-04-07 20:31:31 -04:00
loc.c gdb: remove symbol value macros 2022-04-11 10:45:36 -04:00
loc.h gdb/dwarf: pass an array of values to the dwarf evaluator 2022-04-03 17:18:20 +01:00
macro.c gdb: change file_file_name to return an std::string 2022-04-07 20:31:31 -04:00
macro.h
public.h
read.c gdb: remove symbol value macros 2022-04-11 10:45:36 -04:00
read.h
sect-names.h
section.c
section.h
stringify.c
stringify.h