binutils-gdb/gdb/testsuite/gdb.dwarf2
Jan Kratochvil 442ddf5987 gdb/
Recognize missing DW_AT_location as <value optimized out>.
	* dwarf2read.c
	(new_symbol <DW_TAG_variable> <!DW_AT_location> <!DW_AT_external>):
	Call add_symbol_to_list.

gdb/testsuite/
	* gdb.dwarf2/dw2-noloc-main.c: New file.
	* gdb.dwarf2/dw2-noloc.S: New symbols matrix.
	(.text): Remove.
	(.data): New.
	(DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
	(DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
	(DW_TAG_subprogram func_cu1, noloc): Remove.
	(main): New.
	* gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
	`dw2-noloc-main.c'.  Test the new DIEs from `dw2-noloc.S'.
	(file_symbols): New procedure.
2009-03-26 14:47:19 +00:00
..
dup-psym.exp
dup-psym.S
dw2-basic.exp
dw2-basic.S
dw2-compressed.exp
dw2-compressed.S
dw2-cu-size.exp
dw2-cu-size.S
dw2-intercu.exp
dw2-intercu.S
dw2-intermix.exp
dw2-intermix.S
dw2-noloc-main.c
dw2-noloc.exp
dw2-noloc.S
dw2-producer.exp
dw2-producer.S
dw2-ranges.exp
dw2-ranges.S
dw2-ranges2.S
dw2-ranges3.S
dw2-ref-missing-frame.exp
dw2-ref-missing-frame.S
dw2-strp.exp
dw2-strp.S
file1.txt
mac-fileno.exp
mac-fileno.S
main.c
Makefile.in