old-cross-binutils/gdb/testsuite/gdb.dwarf2
Tom Tromey 8cf6f0b103 gdb
* opencl-lang.c (lval_func_check_synthetic_pointer): New
	function.
	* value.h (struct lval_funcs) <indirect, check_synthetic_pointer>:
	New fields.
	(value_bits_synthetic_pointer): Declare.
	* value.c (value_bits_synthetic_pointer): New function.
	* valprint.c (valprint_check_validity): Handle synthetic
	pointers.
	* valops.c (value_ind): Use new 'indirect' lval_funcs method.
	* valarith.c (value_ptradd): Use set_value_component_location.
	* p-valprint.c (pascal_object_print_value_fields): Handle
	synthetic pointers.
	* jv-valprint.c (java_print_value_fields): Handle synthetic
	pointers.
	* dwarf2read.c (dwarf_stack_op_name): Add
	DW_OP_GNU_implicit_pointer.
	(dwarf2_fetch_die_location_block): Add get_frame_pc, baton
	arguments.  Handle location lists.
	(fill_in_loclist_baton): New function.
	(dwarf2_symbol_mark_computed): Use it.
	* dwarf2loc.h (dwarf2_find_location_expression): Declare.
	(dwarf2_fetch_die_location_block): Add get_frame_pc, baton
	arguments.
	* dwarf2loc.c (dwarf2_find_location_expression): Rename from
	find_location_expression.  No longer static.  Update all callers.
	(dwarf_expr_frame_pc): New function.
	(per_cu_dwarf_call): Add get_frame_pc, baton arguments.  Update
	all callers.
	(struct piece_closure) <per_cu>: New field.
	(allocate_piece_closure): Add per_cu argument.
	(read_pieced_value): Handle DWARF_VALUE_IMPLICIT_POINTER.
	(check_pieced_value_bits): Remove validity argument, add check_for
	argument.  Handle DWARF_VALUE_IMPLICIT_POINTER.
	(check_pieced_value_validity, check_pieced_value_invalid):
	Update.
	(check_pieced_synthetic_pointer): New function.
	(get_frame_address_in_block_wrapper): New function.
	(indirect_pieced_value): New function.
	(pieced_value_funcs): Update.
	(invalid_synthetic_pointer): New function.
	(dwarf2_evaluate_loc_desc_full): Rename from
	dwarf2_evaluate_loc_desc.  Add byte_offset argument.
	(dwarf2_evaluate_loc_desc): Rewrite.
	(dwarf2_loc_desc_needs_frame): Set new field on context.
	(get_ax_pc): New function.
	(disassemble_dwarf_expression): Handle
	DW_OP_GNU_implicit_pointer.
	* dwarf2expr.h (enum dwarf_value_location)
	<DWARF_VALUE_IMPLICIT_POINTER>: New constant.
	(struct dwarf_expr_context) <get_frame_pc>: New field.
	(struct dwarf_expr_piece) <v.ptr>: New field.
	* dwarf2expr.c (add_piece): Handle DWARF_VALUE_IMPLICIT_POINTER.
	(execute_stack_op): Handle DW_OP_GNU_implicit_pointer.
	* dwarf2-frame.c (no_get_frame_pc): New function.
	(execute_stack_op): Set new field on context.
	* cp-valprint.c (cp_print_value_fields): Handle synthetic
	pointers.
gdb/testsuite
	* gdb.dwarf2/implptr.exp: New file.
	* gdb.dwarf2/implptr.c: New file.
	* gdb.dwarf2/implptr.S: New file.
2010-11-29 21:18:16 +00:00
..
callframecfa.exp
callframecfa.S
dup-psym.exp
dup-psym.S
dw2-ada-ffffffff.exp gdb/testsuite/ 2010-11-20 01:49:17 +00:00
dw2-ada-ffffffff.S gdb/testsuite/ 2010-11-20 01:49:17 +00:00
dw2-anonymous-func.exp
dw2-anonymous-func.S
dw2-bad-parameter-type.exp
dw2-bad-parameter-type.S
dw2-basic.exp 2010-06-02 Michael Snyder <msnyder@vmware.com> 2010-06-02 21:46:45 +00:00
dw2-basic.S
dw2-compressed.exp 2010-06-02 Michael Snyder <msnyder@vmware.com> 2010-06-02 21:46:45 +00:00
dw2-compressed.S
dw2-const.exp DWARF: Add support for DW_TAG_constant DIEs 2010-09-22 16:15:34 +00:00
dw2-const.S preserve columnar alignment. 2010-09-22 20:06:58 +00:00
dw2-cp-infcall-ref-static-main.c gdb/ 2010-09-29 22:32:52 +00:00
dw2-cp-infcall-ref-static.exp gdb/ 2010-09-29 22:32:52 +00:00
dw2-cp-infcall-ref-static.S gdb/ 2010-09-29 22:32:52 +00:00
dw2-cu-size.exp
dw2-cu-size.S
dw2-double-set-die-type.exp PR symtab/11465: 2010-08-20 17:16:15 +00:00
dw2-double-set-die-type.S gdb/testsuite/ 2010-10-02 13:31:47 +00:00
dw2-empty-namespace.exp
dw2-empty-namespace.S
dw2-filename.exp Add test for -file-list-exec-source-files 2010-09-02 15:19:57 +00:00
dw2-filename.S Add test for -file-list-exec-source-files 2010-09-02 15:19:57 +00:00
dw2-inheritance.exp
dw2-inheritance.S
dw2-inline-param-main.c gdb/ 2010-09-30 10:29:00 +00:00
dw2-inline-param.exp gdb/ 2010-09-30 10:29:00 +00:00
dw2-inline-param.S gdb/ 2010-09-30 10:29:00 +00:00
dw2-intercu.exp 2010-06-02 Michael Snyder <msnyder@vmware.com> 2010-06-02 21:46:45 +00:00
dw2-intercu.S
dw2-intermix.exp 2010-06-02 Michael Snyder <msnyder@vmware.com> 2010-06-02 21:46:45 +00:00
dw2-intermix.S
dw2-modula2-self-type.exp
dw2-modula2-self-type.S
dw2-noloc-main.c
dw2-noloc.exp
dw2-noloc.S
dw2-op-call.exp gdb/ 2010-06-07 19:55:33 +00:00
dw2-op-call.S gdb/ 2010-06-07 19:55:33 +00:00
dw2-producer.exp 2010-06-02 Michael Snyder <msnyder@vmware.com> 2010-06-02 21:46:45 +00:00
dw2-producer.S
dw2-ranges.exp
dw2-ranges.S
dw2-ranges2.S
dw2-ranges3.S
dw2-ref-missing-frame-func.c In order to fix a checkin mistake in dw2-ref-missing-frame-func.c:r1.2, 2010-08-18 03:16:05 +00:00
dw2-ref-missing-frame-main.c gdb/testsuite/ 2010-06-25 15:34:46 +00:00
dw2-ref-missing-frame.exp gdb/testsuite/ 2010-06-25 15:34:46 +00:00
dw2-ref-missing-frame.S gdb/testsuite/ 2010-06-25 15:34:46 +00:00
dw2-restore.exp 2010-06-08 Michael Snyder <msnyder@vmware.com> 2010-06-10 19:48:20 +00:00
dw2-restore.S
dw2-stack-boundary.exp gdb/testsuite/ 2010-11-20 01:53:04 +00:00
dw2-stack-boundary.S gdb/testsuite/ 2010-11-20 01:53:04 +00:00
dw2-strp.exp gdb: 2010-10-06 16:13:35 +00:00
dw2-strp.S
dw2-unresolved-main.c
dw2-unresolved.exp
dw2-unresolved.S
dw4-sig-types-b.cc PR symtab/11942 2010-08-25 00:09:14 +00:00
dw4-sig-types.cc PR symtab/11942 2010-08-25 00:09:14 +00:00
dw4-sig-types.exp * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name. 2010-08-31 18:40:10 +00:00
dw4-sig-types.h PR symtab/11942 2010-08-25 00:09:14 +00:00
file1.txt
implptr.c gdb 2010-11-29 21:18:16 +00:00
implptr.exp gdb 2010-11-29 21:18:16 +00:00
implptr.S gdb 2010-11-29 21:18:16 +00:00
mac-fileno.exp 2010-06-02 Michael Snyder <msnyder@vmware.com> 2010-06-02 21:46:45 +00:00
mac-fileno.S
main.c
Makefile.in
member-ptr-forwardref.exp 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com> 2010-07-28 19:04:08 +00:00
member-ptr-forwardref.S
pieces.c gdb 2010-05-21 21:13:13 +00:00
pieces.exp gdb 2010-06-11 15:36:10 +00:00
pieces.S gdb 2010-05-21 21:13:13 +00:00
pr10770.c
pr10770.exp
pr11465.exp gdb/testsuite/ 2010-10-17 18:55:09 +00:00
pr11465.S gdb/testsuite/ 2010-10-17 18:55:09 +00:00
valop.exp
valop.S
watch-notconst.c gdb/ChangeLog: 2010-06-16 18:30:34 +00:00
watch-notconst.exp gdb/ChangeLog: 2010-06-16 18:30:34 +00:00
watch-notconst2.c gdb/ChangeLog: 2010-06-16 18:30:34 +00:00
watch-notconst2.S gdb/ChangeLog: 2010-06-16 18:30:34 +00:00