diff options
author | Alan Modra <amodra@gmail.com> | 2024-02-21 21:59:40 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-02-21 23:40:12 +1030 |
commit | f96127310144d360eac93444c1b6efe80497d163 (patch) | |
tree | b8d17728ae0ea276d56d1228940ddf27e69461a8 /gdb/arm-linux-nat.c | |
parent | f618d7fda20afe68c5c3979c4c1be40714e8e5a0 (diff) | |
download | gdb-f96127310144d360eac93444c1b6efe80497d163.zip gdb-f96127310144d360eac93444c1b6efe80497d163.tar.gz gdb-f96127310144d360eac93444c1b6efe80497d163.tar.bz2 |
Re: PR29785, memory bloat after b43771b045fb
Commit 7bd1e04a3532 introduced "dwarf2.c:2152:29: runtime error: shift
exponent 64 is too large". This is on the bucket_high_pc calculation
which was moved to the top of insert_arange_in_trie where previously
it was later, at a point where the overflow could not occur. Move it
back and arrange for a duplicate calculation of bucket_high_pc which
is also protected from overflow.
PR 29785
* dwarf2.c (insert_arange_in_trie): Split bucket_high_pc.
Move trie_pc_bits < VMA_BITS into splitting_leaf_will_help.
Diffstat (limited to 'gdb/arm-linux-nat.c')
0 files changed, 0 insertions, 0 deletions