diff options
author | Tom Tromey <tromey@adacore.com> | 2025-01-13 10:39:50 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-01-28 10:50:50 -0700 |
commit | ae700d95c66340d7e1cfc6b2d72480caed929eb0 (patch) | |
tree | 6d0e5e518d71170d88296f763000c0dc70b97fd5 /gdb/source.c | |
parent | d2030a099be65fdcbc21851aa0fffd6dff362fa1 (diff) | |
download | binutils-ae700d95c66340d7e1cfc6b2d72480caed929eb0.zip binutils-ae700d95c66340d7e1cfc6b2d72480caed929eb0.tar.gz binutils-ae700d95c66340d7e1cfc6b2d72480caed929eb0.tar.bz2 |
Fix gdb.ada/import.exp when using mold
We found that the gdb.ada/import.exp test fails when 'mold' is used as
the linker. This happens because mold decides to mark most of the
symbols in the executable as being file-local. I tend to think this
choice, while non-traditional, is probably fine. So, this patch fixes
the problem by changing the relevant Ada code to look for file-local
symbols as well.
Furthermore, there are two overloads of lookup_minimal_symbol_linkage
that both have a final 'bool' parameter -- but with radically
different meanings. This patch somewhat clears up this confusion as
well.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31378
Diffstat (limited to 'gdb/source.c')
0 files changed, 0 insertions, 0 deletions