binutils-gdb/gdb/testsuite/gdb.mi
Tom Tromey bd69fc683f * c-typeprint.c (find_typedef_for_canonicalize,
print_name_maybe_canonical): New functions.
	(c_print_type): Look up type name.
	(cp_type_print_derivation_info): Add flags argument.  Use
	print_name_maybe_canonical.
	(cp_type_print_method_args): Add wrapping.
	(c_type_print_varspec_prefix): Use print_name_maybe_canonical.
	(c_type_print_template_args): New function.
	(c_type_print_base): Change wrapping.  Use
	print_name_maybe_canonical.
	<TYPE_CODE_STRUCT>: Possibly create a typedef hash, and do
	type name lookups.
	* gdbtypes.c (types_equal): No longer static.
	* gdbtypes.h (types_equal): Declare.
	* typeprint.c (type_print_raw_options, default_ptype_flags):
	Update.
	(struct typedef_hash_table): New.
	(hash_typedef_field, eq_typedef_field,
	recursively_update_typedef_hash, add_template_parameters,
	create_typedef_hash, free_typedef_hash, do_free_typedef_hash,
	make_cleanup_free_typedef_hash, copy_typedef_hash_element,
	copy_typedef_hash, find_typedef_in_hash): New functions.
	* typeprint.h (struct type_print_options) <local_typedefs>:
	New field.
	(recursively_update_typedef_hash, add_template_parameters,
	create_typedef_hash, free_typedef_hash,
	make_cleanup_free_typedef_hash, copy_typedef_hash,
	find_typedef_in_hash): Declare.
testsuite
	* gdb.base/call-sc.exp: Use "ptype/r".
	* gdb.base/volatile.exp: Don't expect "int".
	* gdb.cp/ptype-flags.cc: New file.
	* gdb.cp/ptype-flags.exp: New file.
	* gdb.cp/templates.exp: Use ptype/r.
	(test_ptype_of_templates, test_template_typedef): Likewise.
	* lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
	argument.  Handle template names and template parameters.
	* gdb.mi/mi-var-cmd.exp: Accept "long".
	* gdb.mi/mi-var-child.exp: Accept "long".
	* gdb.mi/mi-var-display.exp: Accept "long".
	* gdb.mi/mi2-var-child.exp: Accept "long".
2012-11-12 17:37:38 +00:00
..
ChangeLog-1999-2003
Makefile.in
array.f
basics.c
dw2-ref-missing-frame-func.c
dw2-ref-missing-frame-main.c
dw2-ref-missing-frame.S
dw2-ref-missing-frame.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
gdb669.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
gdb680.exp
gdb701.c
gdb701.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
gdb792.cc
gdb792.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
gdb2549.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-async.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-basics.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-break.exp 2012-11-09 Yao Qi <yao@codesourcery.com> 2012-11-09 07:21:03 +00:00
mi-breakpoint-changed.exp gdb: 2012-11-03 12:14:47 +00:00
mi-cli.exp gdb/testsuite/ 2012-10-14 12:24:08 +00:00
mi-cmd-param-changed.exp gdb/ 2012-08-09 12:53:46 +00:00
mi-console.c
mi-console.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-disassemble.exp http://sourceware.org/ml/gdb-patches/2012-10/msg00083.html 2012-11-09 13:23:33 +00:00
mi-eval.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-file-transfer.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-file.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-hack-cli.exp
mi-info-os.exp
mi-inheritance-syntax-error.cc
mi-inheritance-syntax-error.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-logging.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-memory-changed.exp gdb: 2012-10-17 00:53:24 +00:00
mi-nonstop-exit.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-nonstop.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-ns-stale-regcache.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-nsintrall.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-nsmoribund.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-nsthrexec.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-pending.c
mi-pending.exp 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com> 2012-07-25 18:34:17 +00:00
mi-pendshr.c 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com> 2012-07-25 18:34:17 +00:00
mi-pthreads.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-read-memory.c
mi-read-memory.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-record-changed.exp gdb/doc: 2012-09-21 01:46:46 +00:00
mi-regs.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-return.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-reverse.exp gdb/testsuite: 2012-09-21 07:29:46 +00:00
mi-simplerun.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-solib.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-stack.c
mi-stack.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-stepi.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-stepn.c
mi-stepn.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-syn-frame.c
mi-syn-frame.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-until.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-var-block.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-var-child-f.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-var-child.c
mi-var-child.exp * c-typeprint.c (find_typedef_for_canonicalize, 2012-11-12 17:37:38 +00:00
mi-var-cmd.exp * c-typeprint.c (find_typedef_for_canonicalize, 2012-11-12 17:37:38 +00:00
mi-var-cp.cc
mi-var-cp.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-var-display.exp * c-typeprint.c (find_typedef_for_canonicalize, 2012-11-12 17:37:38 +00:00
mi-var-invalidate.exp http://sourceware.org/ml/gdb-patches/2012-07/msg00551.html 2012-07-30 12:10:23 +00:00
mi-var-rtti.cc
mi-var-rtti.exp gdb/ 2012-08-09 12:53:46 +00:00
mi-watch-nonstop.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-watch.exp gdb/testsuite: 2012-11-09 02:30:49 +00:00
mi2-amd64-entry-value.c
mi2-amd64-entry-value.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-amd64-entry-value.s
mi2-prompt.exp gdb/ 2012-08-09 12:53:46 +00:00
mi2-var-child.exp * c-typeprint.c (find_typedef_for_canonicalize, 2012-11-12 17:37:38 +00:00
non-stop-exit.c
non-stop.c
ns-stale-regcache.c
nsintrall.c
nsmoribund.c
nsthrexec.c
pending.c gdb/testsuite/ 2012-09-29 00:03:56 +00:00
pendshr1.c gdb/testsuite/ 2012-09-29 00:03:56 +00:00
pendshr2.c gdb/testsuite/ 2012-09-29 00:03:56 +00:00
pr11022.c gdb/ 2012-09-28 00:39:18 +00:00
pr11022.exp gdb/ 2012-09-28 00:39:18 +00:00
pthreads.c
solib-lib.c
solib-main.c
testcmds
until.c
var-cmd.c
watch-nonstop.c