binutils-gdb/gdb/testsuite/gdb.fortran
Andrew Burgess 0d4e84ed37 gdb: Better support for dynamic properties with negative values
When the type of a property is smaller than the CORE_ADDR in which the
property value has been placed, and if the property is signed, then
sign extend the property value from its actual type up to the size of
CORE_ADDR.

gdb/ChangeLog:

	* dwarf2loc.c (dwarf2_evaluate_property): Sign extend property
	value if its desired type is smaller than a CORE_ADDR and signed.

gdb/testsuite/ChangeLog:

	* gdb.fortran/vla-ptype.exp: Print array with negative bounds.
	* gdb.fortran/vla-sizeof.exp: Print the size of an array with
	negative bounds.
	* gdb.fortran/vla-value.exp: Print elements of an array with
	negative bounds.
	* gdb.fortran/vla.f90: Setup an array with negative bounds for
	testing.
2019-07-12 12:09:55 +01:00
..
array-bounds.exp
array-bounds.f90
array-element.exp
array-element.f
block-data.exp Dwarf: Don't add nameless modules to partial symbol table 2019-06-11 19:20:09 +01:00
block-data.f Dwarf: Don't add nameless modules to partial symbol table 2019-06-11 19:20:09 +01:00
charset.exp
charset.f90
common-block.exp
common-block.f90
complex.exp gdb/fortran: Use floatformats_ia64_quad for fortran 16-byte floats 2019-05-18 09:49:02 +01:00
complex.f90 gdb/fortran: better types for components of complex numbers 2019-04-30 10:10:31 +01:00
derived-type-function.exp
derived-type-function.f90
derived-type.exp
derived-type.f90
dot-ops.exp
exprs.exp gdb/fortran: Print 'void' type in lower case 2019-04-30 10:17:01 +01:00
function-calls.exp
function-calls.f90
intrinsics.exp
intrinsics.f90
library-module-lib.f90
library-module-main.f90
library-module.exp
logical.exp
logical.f90
max-depth.exp
max-depth.f90
module.exp
module.f90
multi-dim.exp
multi-dim.f90
nested-funcs.exp
nested-funcs.f90
pointers.f90 gdb/fortran: Show the type for non allocated / associated types 2019-06-16 00:29:35 +01:00
print_type.exp gdb/fortran: Show the type for non allocated / associated types 2019-06-16 00:29:35 +01:00
print-formatted.exp
print-formatted.f90
printing-types.exp gdb/fortran: Use floatformats_ia64_quad for fortran 16-byte floats 2019-05-18 09:49:02 +01:00
printing-types.f90 gdb/fortran: Use floatformats_ia64_quad for fortran 16-byte floats 2019-05-18 09:49:02 +01:00
ptr-indentation.exp gdb/fortran: Update rules for printing whitespace in types 2019-04-30 10:36:56 +01:00
ptr-indentation.f90
ptype-on-functions.exp gdb/fortran: Update rules for printing whitespace in types 2019-04-30 10:36:56 +01:00
ptype-on-functions.f90 gdb/fortran: print function arguments when printing function type 2019-04-30 10:34:26 +01:00
short-circuit-argument-list.exp
short-circuit-argument-list.f90
subarray.exp
subarray.f
type-kinds.exp gdb/fortran: Use floatformats_ia64_quad for fortran 16-byte floats 2019-05-18 09:49:02 +01:00
type.f90
types.exp
vla-alloc-assoc.exp
vla-datatypes.exp gdb/fortran: Add allocatable type qualifier 2019-04-30 10:36:57 +01:00
vla-datatypes.f90
vla-history.exp
vla-ptr-info.exp gdb/fortran: Update rules for printing whitespace in types 2019-04-30 10:36:56 +01:00
vla-ptype-sub.exp
vla-ptype.exp gdb: Better support for dynamic properties with negative values 2019-07-12 12:09:55 +01:00
vla-sizeof.exp gdb: Better support for dynamic properties with negative values 2019-07-12 12:09:55 +01:00
vla-sub.f90
vla-type.exp gdb/fortran: Show the type for non allocated / associated types 2019-06-16 00:29:35 +01:00
vla-type.f90
vla-value-sub-arbitrary.exp
vla-value-sub-finish.exp
vla-value-sub.exp
vla-value.exp gdb: Better support for dynamic properties with negative values 2019-07-12 12:09:55 +01:00
vla.f90 gdb: Better support for dynamic properties with negative values 2019-07-12 12:09:55 +01:00
whatis_type.exp