[PATCHv2,0/5] Improve handling of negative dynamic properties

Message ID cover.1557439866.git.andrew.burgess@embecosm.com
Headers show
Series
  • Improve handling of negative dynamic properties
Related show

Message

Andrew Burgess May 9, 2019, 10:22 p.m.
Patches #1 and #2 are unchanged from the previous version.

Path #3 to #5 are new in this version.which aims to address Tom's
feedback on the first version.

The approach in this new series is to have dynamic properties
understand what type they should be, this means that when the dynamic
properties are resolved they will get back a correctly signed /
unsigned value without the higher level code having to know which type
to ask for.

---

Andrew Burgess (5):
  gdb: Update type of lower bound in value_subscripted_rvalue
  gdb: Convert dwarf2_evaluate_property to return bool
  gdb/dwarf: Ensure the target type of ranges is not void
  gdb: Carry default property type around with dynamic properties
  gdb: Better support for dynamic properties with negative values

 gdb/ChangeLog                            |  47 ++++++++
 gdb/dwarf2loc.c                          |  46 ++++++--
 gdb/dwarf2loc.h                          |  36 +++---
 gdb/dwarf2read.c                         | 194 ++++++++++++++++++++++---------
 gdb/gdbtypes.c                           |  10 +-
 gdb/testsuite/ChangeLog                  |  11 ++
 gdb/testsuite/gdb.fortran/vla-ptype.exp  |  12 ++
 gdb/testsuite/gdb.fortran/vla-sizeof.exp |  10 ++
 gdb/testsuite/gdb.fortran/vla-value.exp  |  27 +++++
 gdb/testsuite/gdb.fortran/vla.f90        |  15 +++
 gdb/valarith.c                           |   2 +-
 gdb/value.h                              |   3 +-
 12 files changed, 328 insertions(+), 85 deletions(-)

-- 
2.14.5