[0/3] Improve handling of negative dynamic properties

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

Message

Andrew Burgess May 5, 2019, 8:56 p.m.
Patch #3 from this series is a refresh of patch #1 and #2 from this
series:

  https://sourceware.org/ml/gdb-patches/2018-11/msg00465.html

I merged the two patches as they seem closly related, otherwise my
changes were:

  + Change from usinng 'int' to 'bool' where appropriate.

  + Updated the name of the API from 'dwarf2_evaluate_property_signed'
  to 'dwarf2_evaluate_property'.

  + Added more tests.

I originally planned to work through the whole of the original series,
however some of the patches need more work so I thought I'd push the
parts as I managed to prepare them.

Thanks,
Andrew

---

Andrew Burgess (3):
  gdb: Update type of lower bound in value_subscripted_rvalue
  gdb: Convert dwarf2_evaluate_property to return bool
  gdb: Handle dynamic properties with negative values

 gdb/ChangeLog                            | 27 +++++++++++++++++++++++++
 gdb/dwarf2loc.c                          | 34 ++++++++++++++++++++++++--------
 gdb/dwarf2loc.h                          | 19 +++++++++++-------
 gdb/findvar.c                            |  2 +-
 gdb/gdbtypes.c                           | 15 ++++++--------
 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, 150 insertions(+), 27 deletions(-)

-- 
2.14.5