old-cross-binutils/gdb/testsuite/gdb.base
Pedro Alves 4801a9a356 gdb/
2011-09-12  Pedro Alves  <pedro@codesourcery.com>
	    Matt Rice  <ratmice@gmail.com>

	PR gdb/13175

	* interps.c (struct interp) <interpreter_out>: Delete field.
	(interp_new): Remove the data and uiout parameters and adjust.
	(interp_set): Only set the current_uiout from the interpreter's
	uiout after initializing the interpreter.  Adjust call to
	init_proc.
	(interp_ui_out): Adjust to call procs->ui_out_proc.
	(interp_data, interp_name): New.
	* interps.h (interp_init_ftype): Add `self' parameter.
	(interp_ui_out_ftype): New typedef.
	(struct interp_procs) <ui_out_proc>: New method pointer.
	(interp_new): Remove the data and uiout parameters.
	(interp_data, interp_name): Declare.
	* tui/tui-interp.c (tui_init): Adjust prototype.
	(tui_ui_out): New.
	(_initialize_tui_interp): Install tui_ui_out.  Don't instanciate
	tui_out here.  Adjust call to interp_new.
	* tui/tui-io.c (tui_initialize_io): Don't set current_uiout here.
	* cli/cli-interp.c (cli_interpreter_init): Adjust prototype.
	(cli_ui_out): New.
	(_initialize_cli_interp): Install it.  Adjust call to interp_new.
	* mi/mi-common.h (struct mi_interp) <uiout>: New field.
	* mi/mi-interp.c (mi_interpreter_init): Adjust prototype.
	Initialize mi->uiout depending on the mi_version as extracted from
	the interpreter's name.
	(mi_ui_out): New.
	(_initialize_mi_interp): Install mi_ui_out.  Adjust calls to
	interp_new.  Don't allocate the ui_out's of the interpreters here.

gdb/testsuite/
2011-09-12  Matt Rice  <ratmice@gmail.com>
	    Pedro Alves  <pedro@codesourcery.com>

	PR gdb/13175

	* gdb.base/interp.exp: New tests.
	* gdb.base/interp.c: New file.
2011-09-12 21:25:22 +00:00
..
comp-dir/subdir
a2-run.exp
advance.c
advance.exp
all-bin.exp
all-types.c
annota1.c
annota1.exp 2011-09-08 Pedro Alves <pedro@codesourcery.com> 2011-09-08 14:56:34 +00:00
annota3.c
annota3.exp 2011-09-08 Pedro Alves <pedro@codesourcery.com> 2011-09-08 14:56:34 +00:00
anon.c
anon.exp
args.c
args.exp
arithmet.exp
arrayidx.c
arrayidx.exp
assign.exp
async-shell.c gdb/ 2011-06-07 17:26:47 +00:00
async-shell.exp gdb/testsuite/ 2011-07-18 04:14:21 +00:00
async.c
async.exp
attach-pie-misread.c
attach-pie-misread.exp
attach.c
attach.exp
attach2.c
auxv.c
auxv.exp
average.c
bang.exp
bar.c
baz.c
bfp-test.c
bfp-test.exp
bigcore.c
bigcore.exp
bitfields.c
bitfields.exp
bitfields2.c
bitfields2.exp
bitops.exp
branches.c
break-always.c
break-always.exp 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be> 2011-08-03 21:17:09 +00:00
break-entry.exp
break-interp-lib.c
break-interp-main.c
break-interp.exp gdb/ 2011-07-01 19:12:12 +00:00
break-on-linker-gcd-function.cc
break-on-linker-gcd-function.exp
break.c
break.exp
break1.c
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 gdb/ 2011-07-05 04:35:00 +00:00
call-sc.exp
call-signal-resume.exp
call-signals.c
call-strs.c
call-strs.exp
callexit.c
callexit.exp
callfuncs.c 2011-05-30 Yao Qi <yao@codesourcery.com> 2011-05-30 02:51:58 +00:00
callfuncs.exp gdb/testsuite/ 2011-08-05 09:41:27 +00:00
catch-syscall.c
catch-syscall.exp
charset-malloc.c
charset.c gdb 2011-05-23 20:27:23 +00:00
charset.exp gdb 2011-05-23 20:27:23 +00:00
checkpoint.c
checkpoint.exp
chng-syms.c
chng-syms.exp
code-expr.exp
code_elim.exp
code_elim1.c
code_elim2.c
commands.exp gdb/ 2011-08-26 21:45:24 +00:00
completion.exp
complex.c
complex.exp
cond-expr.exp
condbreak.exp
consecutive.c
consecutive.exp
constvars.c
constvars.exp
corefile.exp
coremaker.c
coremaker2.c
cursal.c
cursal.exp
cvexpr.c
cvexpr.exp
d10v.ld
d10vovly.c
dbx.exp
default.exp * lib/gdb.exp (gdb_test_list_exact): Suggest use of double 2011-05-20 14:37:20 +00:00
define.exp
del.c
del.exp
detach.exp
dfp-exprs.exp
dfp-test.c
dfp-test.exp
disasm-end-cu-1.c
disasm-end-cu-2.c
disasm-end-cu.exp
display.c 2011-08-09 Pedro Alves <pedro@codesourcery.com> 2011-08-09 16:21:18 +00:00
display.exp 2011-08-09 Pedro Alves <pedro@codesourcery.com> 2011-08-09 16:21:18 +00:00
dump.c
dump.exp 2011-07-02 Yao Qi <yao@codesourcery.com> 2011-07-01 16:42:42 +00:00
dup-sect.exp
dup-sect.S
echo.exp
ena-dis-br.exp
ending-run.c
ending-run.exp 2011-06-01 Yao Qi <yao@codesourcery.com> 2011-06-01 15:55:55 +00:00
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
fileio.c
fileio.exp
find.c
find.exp
finish.exp
fixsection.c
fixsection.exp
fixsectshr.c
float.c 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com> 2011-08-01 16:02:03 +00:00
float.exp 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com> 2011-08-01 16:02:03 +00:00
foll-exec.c
foll-exec.exp
foll-fork.c
foll-fork.exp
foll-vfork.c
foll-vfork.exp
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 2011-05-30 Yao Qi <yao@codesourcery.com> 2011-05-30 02:20:16 +00:00
funcargs.exp 2011-05-30 Yao Qi <yao@codesourcery.com> 2011-05-30 02:20:16 +00:00
gcore-buffer-overflow.c
gcore-buffer-overflow.exp
gcore.c
gcore.exp
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-ifunc-lib.c
gnu-ifunc.c
gnu-ifunc.exp
gnu_vector.c
gnu_vector.exp
grbx.c
hashline1.exp
hashline2.exp
hashline3.exp
hbreak.c
hbreak.exp
help.exp gdb/ 2011-07-27 17:41:21 +00:00
hook-stop-continue.c
hook-stop-continue.exp
hook-stop-frame.c
hook-stop-frame.exp
huge.c
huge.exp
ifelse.exp gdb/ 2011-07-05 04:35:00 +00:00
included.c
included.exp
included.h
infnan.c
infnan.exp
info-macros.c PR macros/12999 2011-07-21 15:13:30 +00:00
info-macros.exp PR macros/12999 2011-07-21 15:13:30 +00:00
info-proc.exp
info-target.exp
int-type.c
interact.exp
interp.c gdb/ 2011-09-12 21:25:22 +00:00
interp.exp gdb/ 2011-09-12 21:25:22 +00:00
interrupt.c
interrupt.exp
jit-dlmain.c Fix JIT clang-lli regression (unable to read JIT descriptor from memory) 2011-07-06 21:40:17 +00:00
jit-main.c Fix JIT clang-lli regression (unable to read JIT descriptor from memory) 2011-07-06 21:40:17 +00:00
jit-so.exp * gdb.base/jit.exp: Download solib_binfile to target. 2011-08-04 11:56:29 +00:00
jit-solib.c
jit.exp * gdb.base/jit.exp: Download solib_binfile to target. 2011-08-04 11:56:29 +00:00
jump.c
jump.exp
kill-after-signal.c gdb/ 2011-05-18 18:03:30 +00:00
kill-after-signal.exp gdb/ 2011-05-18 18:03:30 +00:00
label.c
label.exp
langs.exp
langs0.c
langs1.c
langs1.f
langs2.c
langs2.cxx
lineinc.c
lineinc.exp
lineinc1.h
lineinc2.h
lineinc3.h
list.exp
list0.c
list0.h
list1.c
logical.exp
long_long.c
long_long.exp
longjmp.c
longjmp.exp
m32r.ld
m32rovly.c
macscp.exp
macscp1.c
macscp2.h
macscp3.h
macscp4.h
maint.exp gdb/testsuite/ 2011-08-14 15:58:40 +00:00
Makefile.in
memattr.c
memattr.exp
mips_pro.c
mips_pro.exp
miscexprs.c
miscexprs.exp
morestack.c
morestack.exp
moribund-step.exp gdb/testsuite/ 2011-06-23 07:46:13 +00:00
multi-forks.c
multi-forks.exp
nodebug.c
nodebug.exp
nofield.c
nofield.exp
nostdlib.c
nostdlib.exp * gdb.base/nostdlib.exp: Skip on gdb_stub targets. 2011-08-04 15:00:50 +00:00
opaque.exp
opaque0.c
opaque1.c
overlays.c
overlays.exp
ovlymgr.c
ovlymgr.h
page.exp
pc-fp.c
pc-fp.exp
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
printcmds.c
printcmds.exp
prologue.c
prologue.exp
psymtab.exp gdb/ 2011-07-01 20:16:39 +00:00
psymtab1.c
psymtab2.c
ptr-typedef.c
ptr-typedef.exp
ptype.c
ptype.exp
ptype1.c
radix.exp
randomize.c
randomize.exp
readline-ask.c
readline-ask.exp
readline-ask.inputrc
readline.exp
recurse.c
recurse.exp
regs.exp
relational.exp
relativedebug.c
relativedebug.exp
relocate.c
relocate.exp
remote.c
remote.exp
remotetimeout.exp
reread.exp
reread1.c
reread2.c
restore.c
restore.exp
return-nodebug.c
return-nodebug.exp
return-nodebug1.c
return.c
return.exp
return2.c
return2.exp
run.c
savedregs.c gdb/testsuite/ 2011-08-14 15:58:40 +00:00
savedregs.exp gdb/testsuite/ 2011-08-14 15:58:40 +00:00
scope.exp
scope0.c
scope1.c
sect-cmd.exp
sep-proc.c
sep.c
sep.exp
sepdebug.c
sepdebug.exp
sepdebug2.c
sepsymtab.c
sepsymtab.exp
set-lang-auto.exp
setshow.c
setshow.exp
setvar.c
setvar.exp
shlib-call.exp
shmain.c
shr1.c
shr2.c
shreloc.c
shreloc.exp
shreloc1.c
shreloc2.c
sigall.c
sigall.exp
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
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
so-disc-shr.c
so-impl-ld.c
so-impl-ld.exp
so-indr-cl.c
so-indr-cl.exp
solib-corrupted.exp
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
solib1.c
solib2.c
source-error.gdb
source-test.gdb
source.exp
spu.ld
ss.h
stack-checking.c
stack-checking.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-test.c
step-test.exp
store.c
store.exp
structs.c gdb/ 2011-07-05 04:35:00 +00:00
structs.exp
structs2.c
structs2.exp
structs3.c
structs3.exp
subst.exp
sum.c
symbol-without-target_section.c
symbol-without-target_section.exp
term.exp
trace-commands.exp
tui-layout.exp
twice.c
twice.exp
type-opaque-lib.c
type-opaque-main.c
type-opaque.exp * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on 2011-07-15 14:13:00 +00:00
ui-redirect.exp
unload.c
unload.exp
unloadshr.c
unloadshr2.c
until.exp
unwindonsignal.c
unwindonsignal.exp
valgrind-db-attach.c
valgrind-db-attach.exp 2011-09-08 Pedro Alves <pedro@codesourcery.com> 2011-09-08 14:56:34 +00:00
value-double-free.c
value-double-free.exp
varargs.c 2011-05-30 Yao Qi <yao@codesourcery.com> 2011-05-30 02:27:51 +00:00
varargs.exp 2011-05-30 Yao Qi <yao@codesourcery.com> 2011-05-30 02:27:51 +00:00
vforked-prog.c
volatile.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 * gdb.base/nostdlib.exp: Skip on gdb_stub targets. 2011-08-04 15:00:50 +00:00
watch_thread_num.c
watch_thread_num.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
watchpoint.exp 2011-07-26 Pedro Alves <pedro@codesourcery.com> 2011-07-26 19:39:59 +00:00
watchpoints.c
watchpoints.exp
wchar.c
wchar.exp
weaklib1.c
weaklib2.c
whatis-exp.exp
whatis.c
whatis.exp