diff options
author | Tom Tromey <tromey@adacore.com> | 2023-01-13 09:59:29 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-02-08 08:20:39 -0700 |
commit | 49c1de0e72098e71c28faa13ae2705988de81220 (patch) | |
tree | 6f6acdee96f8c53b49f3b198dc6627a09c4c0430 /gdb/python/py-value.c | |
parent | dae58e04442670270fe116ff1f2e38a2b184b4a1 (diff) | |
download | gdb-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