[PATCH] Fix bug in fixed-point handling
Tom Tromey
tromey@adacore.com
Mon Jul 31 16:38:46 GMT 2023
>>>>> "Tom" == Tom Tromey via Gdb-patches <gdb-patches@sourceware.org> writes:
Tom> Alexandre Oliva found a bug in gdb's handling of fixed-point -- a
Tom> certain Ada fixed-point type would be misintepreted. The bug was that
Tom> the DW_AT_small looked like:
Tom> <1><13cd>: Abbrev Number: 16 (DW_TAG_constant)
Tom> <13ce> DW_AT_GNU_numerator: 1
Tom> <13cf> DW_AT_GNU_denominator: 0x8000000000000000
Tom> ... but gdb interpreted the denominator as a negative value.
I'm checking this in.
Tom
More information about the Gdb-patches
mailing list