]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Dwarf: Fix dynamic properties with neg. value.
authorBernhard Heckel <bernhard.heckel@intel.com>
Tue, 6 Sep 2016 07:00:54 +0000 (09:00 +0200)
committerBernhard Heckel <bernhard.heckel@intel.com>
Wed, 7 Sep 2016 10:07:39 +0000 (12:07 +0200)
commitc632ec404b12ecdd3ed2c2d59d48d61883ebc1d6
tree8d5830f67b0524a2de921d13714394644bc38fc1
parent36897971c8d022d5c28cc8af4b2f1df04a7e964f
Dwarf: Fix dynamic properties with neg. value.

Evaluating of neg. value of 32bit inferiours running on 64bit plattform
causes issues because of the missing sign bits.

Bernhard Heckel  <bernhard.heckel@intel.com>

gdb/Changelog
* dwarf2loc.h: Declare
* dwarf2loc.c (dwarf2_evaluate_property_signed): New.
  (dwarf2_evaluate_property): Delegate tasks to
  dwarf2_evaluate_property_signed.

Change-Id: I3e8f67ecd0d78c579253f67cdf836bd8129a1a26
gdb/dwarf2loc.c
gdb/dwarf2loc.h