binutils-gdb/gdb/testsuite/lib
Jan Kratochvil 0224619f60 DWARF-5: DW_FORM_data16
DWARF-5 has new form DW_FORM_data16.  The problem is that GDB cannot pass
16-byte constant as a constant value as that would require GDB to use GCC
extension __int128.

Formerly such data was coded as DW_FORM_block* so GDB still decodes
DW_FORM_data16 like DW_FORM_block*.

gdb/ChangeLog
2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2read.c (skip_one_die, read_attribute_value)
	(dwarf2_const_value_attr, dump_die_shallow)
	(dwarf2_get_attr_constant_value, dwarf2_fetch_constant_bytes)
	(skip_form_bytes, attr_form_is_constant): Handle DW_FORM_data16.

gdb/testsuite/ChangeLog
2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.dwarf2/formdata16.c: New file.
	* gdb.dwarf2/formdata16.exp: New file.
	* lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
2017-02-20 21:02:20 +01:00
..
ada.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
append_gdb_boards_dir.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
build-piece.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
cache.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
cell.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
cl_util.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
cl_util.h update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
compiler.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
compiler.cc update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
cp-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
d-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
dtrace.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
dwarf.exp DWARF-5: DW_FORM_data16 2017-02-20 21:02:20 +01:00
fortran.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
future.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb-guile.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb-python.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb-utils.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb.exp testsuite: diagnose a running GDB in gdb_skip_xml_tests 2017-02-01 14:43:19 +01:00
gdbserver-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gen-perf-test.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
go.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
memory.exp 2017-01-26 Luis Machado <lgustavo@codesourcery.com> 2017-01-26 14:05:37 -06:00
mi-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
objc.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
opencl_hostapp.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
opencl_kernel.cl
opencl.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
pascal.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
pdtrace.in update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
perftest.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
prelink-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
prompt.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
range-stepping-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
read1.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
rust-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
selftest-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
set_unbuffered_mode.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
trace-support.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
unbuffer_output.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00