Files
Tom Tromey 7c184d334a Fix bit offset regression
The type-safe attribute patch introduced a regression that can occur
when the DW_AT_bit_offset value is negative.  This can happen with
some Ada programs.

This patch fixes the problem.  It also fixes a minor oddity in the
existing scalar storage test -- this test was intended to assign a
smaller number of bits to the field.

2020-10-09  Tom Tromey  <tromey@adacore.com>

	* dwarf2/read.c (dwarf2_add_field): Handle signed offsets.

gdb/testsuite/ChangeLog
2020-10-09  Tom Tromey  <tromey@adacore.com>

	* gdb.ada/scalar_storage/storage.adb (Another_Range): New type.
	(Rec): Add field.  Fix range.
	* gdb.ada/scalar_storage.exp: Update.
2020-10-09 11:18:52 -06:00
..
2020-05-27 11:48:19 -06:00
2020-05-27 11:48:19 -06:00
2020-09-29 20:29:07 -06:00
2020-09-29 20:29:07 -06:00
2020-03-26 09:28:09 -06:00
2020-03-26 09:28:09 -06:00
2020-09-14 11:07:57 -04:00
2020-08-04 14:53:10 -04:00
2020-02-08 13:43:24 -07:00
2020-02-08 13:43:24 -07:00
2020-09-14 11:07:57 -04:00
2020-05-27 11:15:57 -04:00
2020-10-09 11:18:52 -06:00