binutils-gdb/gdb/testsuite/gdb.dwarf2
Jan Kratochvil b3c8eb43f1 gdb/
Fix -readnow for -gdwarf-4 unused type units.
	* dwarf2read.c (struct signatured_type): Remove the field offset.
	(create_signatured_type_table_from_index): Remove its initialization.
	(create_debug_types_hash_table): Likewise.  Initialize per_cu.offset
	instead.  Add a complaint call.
	(process_psymtab_comp_unit): Change assignment to gdb_assert.
	(process_type_comp_unit, lookup_die_type, dump_die_shallow)
	(lookup_signatured_type_at_offset, read_signatured_type)
	(write_one_signatured_type): Update the field for per_cu.

gdb/testsuite/
	Fix -readnow for -gdwarf-4 unused type units.
	* gdb.dwarf2/dw4-sig-type-unused.S: New file.
	* gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2011-05-20 08:55:51 +00:00
..
Makefile.in 2011-02-22 Michael Snyder <msnyder@vmware.com> 2011-02-22 20:52:49 +00:00
callframecfa.S
callframecfa.exp * lib/gdb.exp (is_x86_like_target): New proc. 2011-05-13 17:17:22 +00:00
clztest.S gdb 2011-05-13 18:54:59 +00:00
clztest.c gdb 2011-05-13 18:54:59 +00:00
clztest.exp gdb 2011-05-13 18:54:59 +00:00
dup-psym.S
dup-psym.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-ada-ffffffff.S
dw2-ada-ffffffff.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-anonymous-func.S
dw2-anonymous-func.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-bad-parameter-type.S
dw2-bad-parameter-type.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-basic.S
dw2-basic.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-case-insensitive-debug.S gdb/doc/ 2011-04-27 20:03:04 +00:00
dw2-case-insensitive.c gdb/doc/ 2011-04-27 20:03:04 +00:00
dw2-case-insensitive.exp gdb/doc/ 2011-04-27 20:03:04 +00:00
dw2-compressed.S
dw2-compressed.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-const.S
dw2-const.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-cp-infcall-ref-static-main.c
dw2-cp-infcall-ref-static.S
dw2-cp-infcall-ref-static.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-cu-size.S
dw2-cu-size.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-double-set-die-type.S 2011-04-25 Yao Qi <yao@codesourcery.com> 2011-04-25 03:18:44 +00:00
dw2-double-set-die-type.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-empty-namespace.S
dw2-empty-namespace.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-empty-pc-range.S gdb/ 2011-03-15 15:57:12 +00:00
dw2-empty-pc-range.exp gdb/ 2011-03-15 15:57:12 +00:00
dw2-entry-value-main.c gdb/ 2011-03-22 21:06:34 +00:00
dw2-entry-value.S gdb/ 2011-03-22 21:06:34 +00:00
dw2-entry-value.exp gdb/ 2011-03-22 21:06:34 +00:00
dw2-filename.S
dw2-filename.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-inheritance.S
dw2-inheritance.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-inline-param-main.c
dw2-inline-param.S
dw2-inline-param.exp Centralize printing "<optimized out>". 2011-01-25 16:26:23 +00:00
dw2-intercu.S
dw2-intercu.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-intermix.S
dw2-intermix.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-modula2-self-type.S 2011-04-25 Yao Qi <yao@codesourcery.com> 2011-04-25 03:18:44 +00:00
dw2-modula2-self-type.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-noloc-main.c
dw2-noloc.S
dw2-noloc.exp Centralize printing "<optimized out>". 2011-01-25 16:26:23 +00:00
dw2-op-call.S
dw2-op-call.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-producer.S
dw2-producer.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-ranges.c gdb/testsuite/ 2011-02-25 08:28:07 +00:00
dw2-ranges.exp gdb/testsuite/ 2011-02-25 08:28:07 +00:00
dw2-ranges2.c gdb/testsuite/ 2011-02-25 08:28:07 +00:00
dw2-ranges3.c gdb/testsuite/ 2011-02-25 08:28:07 +00:00
dw2-ref-missing-frame-func.c
dw2-ref-missing-frame-main.c
dw2-ref-missing-frame.S
dw2-ref-missing-frame.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-restore.S
dw2-restore.exp * lib/gdb.exp (is_x86_like_target): New proc. 2011-05-13 17:17:22 +00:00
dw2-skip-prologue.S gdb/ 2011-05-06 15:06:49 +00:00
dw2-skip-prologue.c gdb/ 2011-05-06 15:06:49 +00:00
dw2-skip-prologue.exp gdb/ 2011-05-06 15:06:49 +00:00
dw2-stack-boundary.S
dw2-stack-boundary.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-strp.S
dw2-strp.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw2-unresolved-main.c
dw2-unresolved.S
dw2-unresolved.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
dw4-sig-type-unused.S gdb/ 2011-05-20 08:55:51 +00:00
dw4-sig-type-unused.exp gdb/ 2011-05-20 08:55:51 +00:00
dw4-sig-types-b.cc
dw4-sig-types.cc
dw4-sig-types.exp
dw4-sig-types.h
file1.txt
implptr.S
implptr.c
implptr.exp * lib/gdb.exp (is_x86_like_target): New proc. 2011-05-13 17:17:22 +00:00
mac-fileno.S
mac-fileno.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
main.c
member-ptr-forwardref.S
member-ptr-forwardref.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
pieces.S
pieces.c
pieces.exp * lib/gdb.exp (is_x86_like_target): New proc. 2011-05-13 17:17:22 +00:00
pr10770.c
pr10770.exp
pr11465.S gdb/ 2011-03-15 15:57:12 +00:00
pr11465.exp 2011-01-19 Yao Qi <yao@codesourcery.com> 2011-01-19 20:26:10 +00:00
typeddwarf.S * lib/gdb.exp (is_x86_like_target): New proc. 2011-05-13 17:17:22 +00:00
typeddwarf.c gdb 2011-05-12 17:40:55 +00:00
typeddwarf.exp * lib/gdb.exp (is_x86_like_target): New proc. 2011-05-13 17:17:22 +00:00
valop.S
valop.exp * lib/gdb.exp (is_x86_like_target): New proc. 2011-05-13 17:17:22 +00:00
watch-notconst.c
watch-notconst.exp * lib/gdb.exp (is_x86_like_target): New proc. 2011-05-13 17:17:22 +00:00
watch-notconst2.S
watch-notconst2.c