diff options
author | Tom de Vries <tdevries@suse.de> | 2024-12-09 18:19:36 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-12-09 18:19:36 +0100 |
commit | 7b46460a619a9b5719d1e79226bf371bbf29c7d2 (patch) | |
tree | 534841a2739c5860513c12601f22ecbcbd8f6821 /gdb/python/py-frame.c | |
parent | 4f719a08a8a7c80dbac0854311516e299de178a6 (diff) | |
download | binutils-7b46460a619a9b5719d1e79226bf371bbf29c7d2.zip binutils-7b46460a619a9b5719d1e79226bf371bbf29c7d2.tar.gz binutils-7b46460a619a9b5719d1e79226bf371bbf29c7d2.tar.bz2 |
[gdb/symtab] Apply workaround for PR gas/31115 a bit more
In commit 8a61ee551ce ("[gdb/symtab] Workaround PR gas/31115"), I applied a
workaround for PR gas/31115 in read_func_scope, fixing test-case
gdb.arch/pr25124.exp.
Recently I noticed that the test-case is failing again.
Fix this by factoring out the workaround into a new function fixup_low_high_pc
and applying it in dwarf2_die_base_address.
While we're at it, do the same in dwarf2_record_block_ranges.
Tested on arm-linux with target boards unix/-marm and unix/-mthumb.
Reviewed-By: Alexandra Petlanova Hajkova <ahajkova@redhat.com>
Diffstat (limited to 'gdb/python/py-frame.c')
0 files changed, 0 insertions, 0 deletions