binutils-gdb/gdb/testsuite/gdb.base
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
..
comp-dir/subdir
a2-run.exp
advance.c
advance.exp
alias.exp
all-bin.exp
all-types.c
annota1.c
annota1.exp * gdb.base/annota1.exp: Accept no frames-invalid notification 2012-08-02 15:59:59 +00:00
annota3.c
annota3.exp
anon.c
anon.exp
args.c
args.exp
arithmet.exp
arrayidx.c
arrayidx.exp
assign.exp
async-shell.c
async-shell.exp gdb/testsuite/ 2012-07-27 21:34:30 +00:00
async.c
async.exp
attach2.c
attach-pie-misread.c
attach-pie-misread.exp
attach-pie-noexec.c
attach-pie-noexec.exp
attach-twice.c
attach-twice.exp gdb/testsuite/ 2012-08-14 18:47:37 +00:00
attach.c
attach.exp
auxv.c
auxv.exp * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd. 2012-11-06 15:21:24 +00:00
average.c
bang.exp
bar.c
baz.c
bfp-test.c
bfp-test.exp
bigcore.c
bigcore.exp
bitfields2.c
bitfields2.exp
bitfields.c
bitfields.exp
bitops.exp
branches.c
break1.c
break-always.c
break-always.exp
break-caller-line.c gdb/ 2012-08-27 16:55:39 +00:00
break-caller-line.exp gdb/ 2012-08-27 16:55:39 +00:00
break-entry.exp
break-inline.c
break-inline.exp
break-interp-lib.c
break-interp-main.c
break-interp.exp
break-on-linker-gcd-function.cc
break-on-linker-gcd-function.exp
break.c
break.exp
breakpoint-shadow.c
breakpoint-shadow.exp
call-ar-st.c
call-ar-st.exp
call-rt-st.c
call-rt-st.exp
call-sc.c
call-sc.exp * c-typeprint.c (find_typedef_for_canonicalize, 2012-11-12 17:37:38 +00:00
call-signal-resume.exp
call-signals.c
call-strs.c
call-strs.exp
callexit.c
callexit.exp
callfuncs.c * c-exp.y (check_parameter_typelist): New function. 2012-07-09 14:20:52 +00:00
callfuncs.exp * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed. 2012-10-24 14:59:24 +00:00
catch-load-so.c
catch-load.c
catch-load.exp * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs. 2012-08-01 13:07:51 +00:00
catch-syscall.c
catch-syscall.exp * breakpoint.c (catch_syscall_completer): Pass 'word' as second 2012-11-02 19:05:12 +00:00
charset-malloc.c
charset.c
charset.exp
checkpoint.c
checkpoint.exp
chng-syms.c
chng-syms.exp
code_elim1.c
code_elim2.c
code_elim.exp
code-expr.exp
commands.exp
completion.exp gdb: add completion handler for "handle" and "signal" 2012-08-10 05:03:13 +00:00
complex.c
complex.exp
comprdebug.exp PR gdb/14704: 2012-11-08 19:52:42 +00:00
cond-eval-mode.exp
cond-expr.exp
condbreak.exp
consecutive.c
consecutive.exp
constvars.c
constvars.exp
corefile.exp
coremaker2.c
coremaker.c
ctxobj-f.c
ctxobj-m.c
ctxobj-v.c
ctxobj.exp * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true. 2012-10-19 07:36:19 +00:00
cursal.c
cursal.exp
cvexpr.c
cvexpr.exp
d10v.ld
d10vovly.c
dbx.exp
debug-expr.c * eval.c (evaluate_subexp_standard): Fix thinko in handling 2012-08-08 21:17:04 +00:00
debug-expr.exp * eval.c (evaluate_subexp_standard): Fix thinko in handling 2012-08-08 21:17:04 +00:00
default.exp PR c++/13356 2012-08-17 17:37:03 +00:00
define.exp
del.c
del.exp
detach.exp
dfp-exprs.exp
dfp-test.c
dfp-test.exp
disabled-location.c gdb/ 2012-11-06 15:25:05 +00:00
disabled-location.exp gdb/ 2012-11-06 15:25:05 +00:00
disasm-end-cu-1.c
disasm-end-cu-2.c
disasm-end-cu.exp
disp-step-fork.c
disp-step-syscall.exp
disp-step-vfork.c
display.c
display.exp
dmsym_main.c
dmsym.c
dmsym.exp
dprintf.c
dprintf.exp gdb/testsuite/ 2012-07-04 14:57:23 +00:00
dump.c
dump.exp
dup-sect.exp
dup-sect.S
duplicate-bp.c http://sourceware.org/ml/gdb-patches/2012-09/msg00403.html 2012-09-26 16:36:00 +00:00
duplicate-bp.exp http://sourceware.org/ml/gdb-patches/2012-09/msg00403.html 2012-09-26 16:36:00 +00:00
echo.exp
ena-dis-br.exp
ending-run.c
ending-run.exp
enum_cond.c
enum_cond.exp
enumval.c
enumval.exp
environ.exp
eu-strip-infcall.c
eu-strip-infcall.exp
eval-skip.exp
eval.exp
exe-lock.exp
execd-prog.c
expand-psymtabs.c
expand-psymtabs.exp
exprs.c
exprs.exp * eval.c (evaluate_subexp_standard): Fix thinko in handling 2012-08-08 21:17:04 +00:00
fileio.c
fileio.exp
find-unmapped.c http://sourceware.org/ml/gdb-patches/2012-09/msg00568.html 2012-10-01 12:02:13 +00:00
find-unmapped.exp http://sourceware.org/ml/gdb-patches/2012-09/msg00568.html 2012-10-01 12:02:13 +00:00
find.c
find.exp gdb/ 2012-07-06 15:51:40 +00:00
finish.exp
fixsection.c
fixsection.exp
fixsectshr.c
float.c
float.exp
foll-exec.c
foll-exec.exp
foll-fork.c
foll-fork.exp
foll-vfork-exit.c 2012-11-02 Pedro Alves <palves@redhat.com> 2012-11-02 18:10:29 +00:00
foll-vfork.c 2012-11-05 Pedro Alves <palves@redhat.com> 2012-11-05 16:23:36 +00:00
foll-vfork.exp gdb/ 2012-11-05 18:56:45 +00:00
foo.c
fortran-sym-case.c
fortran-sym-case.exp
frame-args.c
frame-args.exp
freebpcmd.c
freebpcmd.exp
fullname.c
fullname.exp
funcargs.c
funcargs.exp
gcore-buffer-overflow.c
gcore-buffer-overflow.exp * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd. 2012-11-06 15:21:24 +00:00
gcore-relro-lib.c gdb/ 2012-08-07 13:26:33 +00:00
gcore-relro-main.c gdb/ 2012-08-07 13:26:33 +00:00
gcore-relro.exp * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd. 2012-11-06 15:21:24 +00:00
gcore.c
gcore.exp * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd. 2012-11-06 15:21:24 +00:00
gdb1056.exp
gdb1090.c
gdb1090.exp
gdb1250.c
gdb1250.exp
gdb1555-main.c
gdb1555.c
gdb1555.exp
gdb1821.c
gdb1821.exp
gdb11530.c
gdb11530.exp
gdb11531.c
gdb11531.exp
gdb_history
gdbindex-stabs-dwarf.c
gdbindex-stabs.c
gdbindex-stabs.exp
gdbvars.c
gdbvars.exp
gnu_vector.c http://sourceware.org/ml/gdb-patches/2012-10/msg00525.html 2012-10-31 09:26:22 +00:00
gnu_vector.exp http://sourceware.org/ml/gdb-patches/2012-10/msg00525.html 2012-10-31 09:26:22 +00:00
gnu-ifunc-lib.c
gnu-ifunc.c
gnu-ifunc.exp
grbx.c
hashline1.exp
hashline2.exp
hashline3.exp
hbreak2.exp
hbreak.c
hbreak.exp
help.exp * gdb.base/help.exp: Remove testing of individual command help text, 2012-09-12 18:55:49 +00:00
hook-stop-continue.c
hook-stop-continue.exp
hook-stop-frame.c
hook-stop-frame.exp
huge.c
huge.exp
ifelse.exp
included.c
included.exp
included.h
inferior-died.c
inferior-died.exp
infnan.c
infnan.exp
info-fun-solib.c
info-fun.c
info-fun.exp * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x. 2012-08-02 22:27:47 +00:00
info-macros.c * gdb.base/info-macros.c: Fix whitespace. 2012-09-05 18:20:53 +00:00
info-macros.exp
info-os.c * gdb.base/info-os.c (main): Retry resource acquisition until an 2012-07-03 23:17:13 +00:00
info-os.exp gdb/testsuite: 2012-10-23 15:49:11 +00:00
info-proc.exp
info-target.exp
infoline.c
infoline.exp
int-type.c
interact.exp
interp.c
interp.exp
interrupt.c
interrupt.exp
jit-dlmain.c
jit-main.c
jit-simple.c
jit-simple.exp
jit-so.exp
jit-solib.c
jit.exp
jump.c
jump.exp
kill-after-signal.c
kill-after-signal.exp
label.c
label.exp
langs0.c
langs1.c
langs1.f
langs2.c
langs2.cxx
langs.exp
ldbl_e308.c off-by-one max exponent computation in convert_doublest_to_floatformat 2012-10-24 18:11:21 +00:00
ldbl_e308.exp gdb.base/ldbl_e308.exp: Do not allow "inf" in value output. 2012-10-25 11:16:18 +00:00
lineinc1.h
lineinc2.h
lineinc3.h
lineinc.c
lineinc.exp
linespecs.exp
list0.c
list0.h
list1.c
list.exp gdb/ 2012-09-17 08:42:14 +00:00
logical.exp
long_long.c
long_long.exp
longest-types.c gdb/ChangeLog: 2012-09-25 12:20:42 +00:00
longest-types.exp gdb/ChangeLog: 2012-09-25 12:20:42 +00:00
longjmp.c
longjmp.exp
m32r.ld
m32rovly.c
macscp1.c
macscp2.h
macscp3.h
macscp4.h
macscp.exp
maint.exp * elfread.c (elf_symtab_read): Update. 2012-08-22 16:01:09 +00:00
Makefile.in
memattr.c
memattr.exp 2012-08-27 Wei-cheng Wang <cole945@gmail.com> 2012-08-27 08:58:01 +00:00
mips_pro.c
mips_pro.exp
miscexprs.c
miscexprs.exp
morestack.c
morestack.exp
moribund-step.exp
multi-forks.c
multi-forks.exp
nextoverexit.c
nextoverexit.exp
nodebug.c
nodebug.exp
nofield.c
nofield.exp
nostdlib.c
nostdlib.exp
opaque0.c
opaque1.c
opaque.exp
overlays.c
overlays.exp
ovlymgr.c
ovlymgr.h
page.exp
pc-fp.c
pc-fp.exp 2012-08-28 Pedro Alves <palves@redhat.com> 2012-08-28 09:05:35 +00:00
pending.c
pending.exp
pendshr.c
permissions.exp
pi.txt
pie-execl.c
pie-execl.exp
pointers.c
pointers.exp
pr10179-a.c
pr10179-b.c
pr10179.exp
pr11022.c
pr11022.exp
prelink-lib.c
prelink.c
prelink.exp
print-file-var-lib1.c
print-file-var-lib2.c
print-file-var-main.c
print-file-var.exp * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true. 2012-10-19 07:36:19 +00:00
printcmds.c PR gdb/14288 2012-11-10 20:19:01 +00:00
printcmds.exp PR gdb/14288 2012-11-10 20:19:01 +00:00
prologue.c
prologue.exp
psymtab1.c
psymtab2.c
psymtab.exp
ptr-typedef.c
ptr-typedef.exp
ptype1.c
ptype.c
ptype.exp http://sourceware.org/ml/gdb-patches/2012-09/msg00013.html 2012-09-11 09:03:08 +00:00
radix.exp
randomize.c
randomize.exp
readline-ask.c
readline-ask.exp
readline-ask.inputrc
readline.exp
recpar.c
recpar.exp
recurse.c
recurse.exp
relational.exp
relativedebug.c
relativedebug.exp
relocate.c
relocate.exp
remote.c
remote.exp
remotetimeout.exp
reread1.c
reread2.c
reread.exp
restore.c
restore.exp
return2.c
return2.exp
return-nodebug1.c
return-nodebug.c
return-nodebug.exp
return.c
return.exp
run.c
save-bp.c
save-bp.exp
savedregs.c
savedregs.exp
scope0.c
scope1.c
scope.exp
sect-cmd.exp
sep-proc.c
sep.c
sep.exp
sepdebug2.c
sepdebug.c
sepdebug.exp
sepsymtab.c
sepsymtab.exp
set-lang-auto.exp
set-noassign.exp
setshow.c
setshow.exp PR c++/13356 2012-08-17 17:37:03 +00:00
setvar.c gdb: 2012-11-02 00:14:39 +00:00
setvar.exp gdb: 2012-11-02 00:14:39 +00:00
shell.exp
shlib-call.exp
shmain.c
shr1.c
shr2.c
shreloc1.c
shreloc2.c
shreloc.c
shreloc.exp
sigall.c
sigall.exp 2012-07-19 Pedro Alves <palves@redhat.com> 2012-07-19 20:00:59 +00:00
sigaltstack.c
sigaltstack.exp
sigbpt.c
sigbpt.exp
sigchld.c
sigchld.exp
siginfo-addr.c
siginfo-addr.exp
siginfo-infcall.c
siginfo-infcall.exp
siginfo-obj.c
siginfo-obj.exp gdb 2012-11-08 21:16:43 +00:00
siginfo-thread.c gdb 2012-11-08 21:16:43 +00:00
siginfo-thread.exp gdb 2012-11-08 21:16:43 +00:00
siginfo.c
siginfo.exp
signals.c
signals.exp
signest.c
signest.exp
signull.c
signull.exp
sigrepeat.c
sigrepeat.exp
sigstep.c
sigstep.exp
sizeof.c
sizeof.exp
skip1.c
skip-solib-lib.c
skip-solib-main.c
skip-solib.exp
skip.c
skip.exp
so-disc-shr.c
so-impl-ld.c
so-impl-ld.exp
so-indr-cl.c
so-indr-cl.exp
solib1.c
solib2.c
solib-corrupted.exp gdb/testsuite/ 2012-08-18 07:02:09 +00:00
solib-disc.c
solib-disc.exp
solib-display-lib.c
solib-display-main.c
solib-display.exp
solib-nodir.exp
solib-overlap-lib.c
solib-overlap-main.c
solib-overlap.exp
solib-symbol-lib.c
solib-symbol-main.c
solib-symbol.exp
solib-weak.c
solib-weak.exp
solib.c
solib.exp
source-error.gdb
source-test.gdb
source.exp
spu.ld
ss.h
stack-checking.c
stack-checking.exp
stale-infcall.c
stale-infcall.exp gdb/testsuite/ 2012-07-07 12:10:14 +00:00
stap-probe.c
stap-probe.exp
start.c
start.exp
step-break.c
step-break.exp
step-bt.c
step-bt.exp
step-line.c
step-line.exp
step-line.inp
step-resume-infcall.c
step-resume-infcall.exp
step-symless.c gdb/ 2012-10-06 21:10:33 +00:00
step-symless.exp gdb/ 2012-10-06 21:10:33 +00:00
step-test.c
step-test.exp
store.c
store.exp gdb/testsuite/ 2012-07-16 19:17:54 +00:00
structs2.c
structs2.exp
structs3.c
structs3.exp
structs.c
structs.exp
subst.exp
sum.c
symbol-without-target_section.c
symbol-without-target_section.exp
term.c
term.exp
testenv.c
testenv.exp
trace-commands.exp
tui-layout.exp
twice.c
twice.exp
type-opaque-lib.c
type-opaque-main.c
type-opaque.exp * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true. 2012-10-19 07:36:19 +00:00
ui-redirect.exp
unload.c
unload.exp
unloadshr2.c
unloadshr.c
until.exp
unwindonsignal.c
unwindonsignal.exp
valgrind-db-attach.c
valgrind-db-attach.exp gdb/testsuite/ 2012-07-31 07:35:18 +00:00
valgrind-infcall.c gdb/ 2012-07-31 07:33:16 +00:00
valgrind-infcall.exp gdb/testsuite/ 2012-09-13 05:32:09 +00:00
value-double-free.c
value-double-free.exp
varargs.c
varargs.exp gdb/testsuite: 2012-10-25 14:56:09 +00:00
vforked-prog.c 2012-11-02 Pedro Alves <palves@redhat.com> 2012-11-02 17:59:13 +00:00
volatile.exp * c-typeprint.c (find_typedef_for_canonicalize, 2012-11-12 17:37:38 +00:00
watch_thread_num.c
watch_thread_num.exp
watch-cond-infcall.c
watch-cond-infcall.exp
watch-cond.c
watch-cond.exp
watch-non-mem.c
watch-non-mem.exp
watch-read.c
watch-read.exp
watch-vfork.c
watch-vfork.exp
watchpoint-cond-gone-stripped.c
watchpoint-cond-gone.c
watchpoint-cond-gone.exp
watchpoint-delete.c
watchpoint-delete.exp
watchpoint-hw-hit-once.c
watchpoint-hw-hit-once.exp
watchpoint-hw.c
watchpoint-hw.exp
watchpoint-solib-shr.c
watchpoint-solib.c
watchpoint-solib.exp
watchpoint.c * gdb.base/watchpoint.c (func2): Initialize local_a. Add 2012-08-02 15:55:45 +00:00
watchpoint.exp gdb/testsuite/ 2012-08-07 13:13:49 +00:00
watchpoints.c
watchpoints.exp
wchar.c PR gdb/14288 2012-11-10 20:19:01 +00:00
wchar.exp PR gdb/14288 2012-11-10 20:19:01 +00:00
weaklib1.c
weaklib2.c
whatis-exp.exp
whatis.c
whatis.exp * c-exp.y (check_parameter_typelist): New function. 2012-07-09 14:20:52 +00:00