diff options
author | Joseph Myers <joseph@codesourcery.com> | 2023-11-17 17:04:14 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2023-11-17 17:04:14 +0000 |
commit | 5070b0e66c56eff4e197721c884760030df76822 (patch) | |
tree | bd8bcadc19c9fd172eee620d0ac5ce214e1dcb6a /gdb/remote.c | |
parent | 4a1b9a4badc8954221926b231b81392fa625653c (diff) | |
download | gdb-5070b0e66c56eff4e197721c884760030df76822.zip gdb-5070b0e66c56eff4e197721c884760030df76822.tar.gz gdb-5070b0e66c56eff4e197721c884760030df76822.tar.bz2 |
Fix read_ranges for 32-bit long
bfd/dwarf2.c:read_ranges compares bfd_vma values against -1UL, which
doesn't work correctly when long is 32-bit and bfd_vma is 64-bit
(observed as "nm -l" being very slow for mingw64 host; probably causes
issues on 32-bit hosts as well as IL32LLP64 cases such as mingw64).
Fix by using (bfd_vma) -1 in place of -1UL, as done elsewhere.
Diffstat (limited to 'gdb/remote.c')
0 files changed, 0 insertions, 0 deletions