old-cross-binutils/gdb/testsuite
Jan Kratochvil a471c5941e gdb/
Display @entry parameter values even for references.
	* ada-valprint.c (ada_val_print_1) <TYPE_CODE_REF>: Try also
	coerce_ref_if_computed.
	* c-valprint.c (c_val_print) <TYPE_CODE_REF>: Likewise.
	* dwarf2expr.c (dwarf_block_to_dwarf_reg_deref): New function.
	(execute_stack_op) <DW_OP_GNU_entry_value>: Add -1 deref_size to the
	existing push_dwarf_reg_entry_value call.  Add new detection calling
	dwarf_block_to_dwarf_reg_deref.  Update the error message.
	(ctx_no_push_dwarf_reg_entry_value): New parameter deref_size.
	* dwarf2expr.h
	(struct dwarf_expr_context_funcs) <push_dwarf_reg_entry_value>: Add new
	parameter deref_size, describe it in the comment.
	(ctx_no_push_dwarf_reg_entry_value): Add new parameter deref_size.
	(dwarf_block_to_dwarf_reg_deref): New declaration.
	* dwarf2loc.c (dwarf_entry_parameter_to_value): Add new parameter
	deref_size, describe it in the function comment.  New variables
	data_src and size, fetch the alternative block accoring to DEREF_SIZE.
	(dwarf_expr_push_dwarf_reg_entry_value): Add new parameter deref_size,
	describe it in the function comment.  Fetch the alternative block
	accoring to DEREF_SIZE.
	(entry_data_value_coerce_ref, entry_data_value_copy_closure)
	(entry_data_value_free_closure, entry_data_value_funcs): New.
	(value_of_dwarf_reg_entry): New variables checked_type, target_type,
	outer_val, target_val, val and addr.  Try to fetch and create also
	referenced value content.
	(pieced_value_funcs): NULL value for coerce_ref.
	(needs_dwarf_reg_entry_value): Add new parameter deref_size.
	* f-valprint.c (f_val_print) <TYPE_CODE_REF>: Try also
	coerce_ref_if_computed.
	* opencl-lang.c (opencl_value_funcs): NULL value for coerce_ref.
	* p-valprint.c (pascal_val_print) <TYPE_CODE_REF>: Likewise.
	* stack.c (read_frame_arg): Compare also dereferenced values.
	* value.c (value_computed_funcs): Make the parameter v const, use
	value_lval_const for it.
	(value_lval_const, coerce_ref_if_computed): New function.
	(coerce_ref): New variable retval.  Call also coerce_ref_if_computed.
	* value.h (struct lval_funcs): New field coerce_ref.
	(value_computed_funcs): Make the parameter v const.
	(value_lval_const, coerce_ref_if_computed): New declarations.

gdb/testsuite/
	Display @entry parameter values even for references.
	* gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
	functions.
	(main): New variables regvar, nodatavarp, stackvar1, stackvar2.  Call
	reference and datap_input.
	* gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
	breakpoints.
	(continue to breakpoint: entry_reference: reference)
	(entry_reference: bt at entry)
	(continue to breakpoint: entry_reference: breakhere_reference)
	(entry_reference: bt, entry_reference: ptype regparam)
	(entry_reference: p regparam, entry_reference: ptype regparam@entry)
	(entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
	(entry_reference: p regcopy, entry_reference: p nodataparam)
	(entry_reference: p nodataparam@entry): New tests.
2011-10-09 19:43:41 +00:00
..
config gdb: testsuite: add Blackfin support 2011-07-06 18:40:30 +00:00
gdb.ada [Ada] Re-implement `info tasks' command using ui-out 2011-09-16 19:09:57 +00:00
gdb.arch gdb/ 2011-10-09 19:43:41 +00:00
gdb.asm gdb: testsuite: add Blackfin support 2011-07-06 18:40:30 +00:00
gdb.base gdb/ 2011-10-09 19:34:19 +00:00
gdb.cell ChangeLog: 2011-05-06 20:48:48 +00:00
gdb.cp gdb/ 2011-10-09 19:41:17 +00:00
gdb.disasm 2011-02-22 Michael Snyder <msnyder@vmware.com> 2011-02-22 20:52:49 +00:00
gdb.dwarf2 gdb/ 2011-10-09 18:46:41 +00:00
gdb.fortran gdb/ 2011-06-29 22:05:16 +00:00
gdb.gdb
gdb.hp gdb 2011-04-19 18:04:11 +00:00
gdb.java gdb/testsuite/ 2011-07-07 14:08:21 +00:00
gdb.mi gdb/ 2011-10-09 19:34:19 +00:00
gdb.modula2 2011-02-22 Michael Snyder <msnyder@vmware.com> 2011-02-22 20:52:49 +00:00
gdb.multi 2011-02-25 Michael Snyder <msnyder@vmware.com> 2011-02-27 20:49:27 +00:00
gdb.objc 2011-02-22 Michael Snyder <msnyder@vmware.com> 2011-02-22 20:52:49 +00:00
gdb.opencl 2011-02-22 Michael Snyder <msnyder@vmware.com> 2011-02-22 20:52:49 +00:00
gdb.opt * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to 2011-05-02 17:07:10 +00:00
gdb.pascal 2011-02-22 Michael Snyder <msnyder@vmware.com> 2011-02-22 20:52:49 +00:00
gdb.python * python/lib/gdb/printing.py (register_pretty_printer): New argument 2011-10-07 22:46:15 +00:00
gdb.reverse 2011-05-26 Pedro Alves <pedro@codesourcery.com> 2011-05-26 15:32:38 +00:00
gdb.server gdb/ 2011-03-08 12:46:52 +00:00
gdb.stabs * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove. 2011-03-03 16:57:58 +00:00
gdb.threads 2011-09-02 Pedro Alves <pedro@codesourcery.com> 2011-09-02 19:21:02 +00:00
gdb.trace Add return address collection for tracepoints. 2011-09-27 13:09:37 +00:00
gdb.xml gdb/testsuite/ 2011-08-14 15:58:40 +00:00
lib * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow 2011-09-29 15:17:50 +00:00
.gdbinit
aclocal.m4
ChangeLog gdb/ 2011-10-09 19:43:41 +00:00
configure * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove. 2011-03-03 16:57:58 +00:00
configure.ac * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove. 2011-03-03 16:57:58 +00:00
dg-extract-results.sh
Makefile.in * Makefile.in (TAGS): Rewrite. 2011-03-07 22:02:45 +00:00
TODO