]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use attribute::signed_constant for fixed-point scale
authorTom Tromey <tromey@adacore.com>
Mon, 10 Mar 2025 16:03:17 +0000 (10:03 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 24 Apr 2025 19:25:08 +0000 (13:25 -0600)
commitb7b4a8ebb6c36f9aedea200095c850c3347eb42b
tree4b70543fcbceff07befb9532c6945343726c3bb5
parent3d0e5b99929b0192abfd8dc12b37ac6eaf7fdfd1
Use attribute::signed_constant for fixed-point scale

This changes the DWARF reader to use attribute::signed_constant for
DW_AT_binary_scale and DW_AT_decimal_scale.  (FWIW these were the
attributes that first lead me to find this problem.)

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32680
gdb/dwarf2/read.c