binutils-gdb/gdb/testsuite/lib
Petr Machata 41c7760520 dwarf.exp: In 64-bit units, emit also abbrev offset as a 64-bit field
Dwarf::tu and Dwarf::cu allow selection of units with 64-bit offsets
through an option.  When selected, unit size is encoded properly, but
offset to abbreviation unit is still encoded in a 4-byte field.  This
patch fixes the problem.

Reproducer:

Dwarf::assemble "blah.s" {
    tu {is_64 1 version 4 addr_size 8} 0x1122334455667788 the_type {
	type_unit {} { the_type: }
    }

    cu {is_64 1 version 4 addr_size 8} {
	compile_unit {{language @DW_LANG_C}} {}
    }
}

gdb/testsuite:

	* lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
	${_cu_offset_size} bytes abbrev offset.
2014-11-17 08:31:47 +08:00
..
ada.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
append_gdb_boards_dir.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
cache.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
cell.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
cl_util.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
cl_util.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
compiler.c Add support to recognize clang. 2014-04-07 14:14:03 -07:00
compiler.cc Add support to recognize clang. 2014-04-07 14:14:03 -07:00
cp-support.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
d-support.exp Add gdb.dlang to the gdb testsuite for the purpose of creating D 2014-01-18 18:09:28 +00:00
dwarf.exp dwarf.exp: In 64-bit units, emit also abbrev offset as a 64-bit field 2014-11-17 08:31:47 +08:00
fortran.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
future.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb-guile.exp Add Guile as an extension language. 2014-02-09 19:40:01 -08:00
gdb-python.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb-utils.exp Fix paginate-*.exp races 2014-07-25 10:07:38 +01:00
gdb.exp Skip testing argv[0] on target argv[0] isn't available 2014-10-18 20:58:06 +08:00
gdbserver-support.exp gdbserver-support: Handle gdbserver start failures 2014-09-09 16:17:38 +01:00
go.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
java.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mi-support.exp gdbserver-support: Handle gdbserver start failures 2014-09-09 16:17:38 +01:00
objc.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
opencl.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
opencl_hostapp.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
opencl_kernel.cl
pascal.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
perftest.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
prelink-support.exp Error in build_executable_own_libs for non-native target 2014-09-30 11:42:56 +08:00
prompt.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
range-stepping-support.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
read1.c Integrate PR 12649's race detector directly in the testsuite machinery 2014-08-20 18:55:54 +01:00
selftest-support.exp Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
set_unbuffered_mode.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
trace-support.exp Check tracefile is generated by binary execution 2014-04-22 09:57:44 +08:00