ada: Fix minor address arithmetic issues in System.Dwarf_Lines
commita0cc548a8a1b2176bf2f51d1831a4ac6cc255b64
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 24 Feb 2023 18:10:00 +0000 (24 19:10 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 23 May 2023 07:59:06 +0000 (23 09:59 +0200)
tree076040473905b022d3978c2b53719e8d8a057e60
parenta550a0cf91ddad3b331bed5e694e31b34d690c95
ada: Fix minor address arithmetic issues in System.Dwarf_Lines

Offset calculations should use the operator of System.Storage_Elements.

gcc/ada/

* libgnat/s-dwalin.adb (Enable_Cache): Use the subtract operator of
System.Storage_Elements to compute the offset.
(Symbolic_Address): Likewise.
gcc/ada/libgnat/s-dwalin.adb