aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-value.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-01-13 09:59:29 -0700
committerTom Tromey <tromey@adacore.com>2023-02-08 08:20:39 -0700
commit49c1de0e72098e71c28faa13ae2705988de81220 (patch)
tree6f6acdee96f8c53b49f3b198dc6627a09c4c0430 /gdb/python/py-value.c
parentdae58e04442670270fe116ff1f2e38a2b184b4a1 (diff)
downloadgdb-49c1de0e72098e71c28faa13ae2705988de81220.zip
gdb-49c1de0e72098e71c28faa13ae2705988de81220.tar.gz
gdb-49c1de0e72098e71c28faa13ae2705988de81220.tar.bz2
Merge fixup_section and fixup_symbol_section
fixup_symbol_section delegates all its work to fixup_section, so merge the two. Because there is only a single caller to fixup_symbol_section, we can also remove some of the introductory logic. For example, this will never be called with a NULL objfile any more. The LOC_BLOCK case can be removed, because such symbols are handled by the buildsym code now. Finally, a symbol can only appear in a SEC_ALLOC section, so the loop is modified to skip sections that do not have this flag set.
Diffstat (limited to 'gdb/python/py-value.c')
0 files changed, 0 insertions, 0 deletions