binutils-gdb/gdb/testsuite/gdb.mi
Yao Qi 50ab6ace38 Skip gdb.mi/list-thread-groups-available.exp if no xml support
I see the following test fail in gdb (configured --with-expat=no),

-list-thread-groups --available^M
&"warning: Can not parse XML OS data; XML support was disabled at compile time\n"^M
^error,msg="Can not fetch data now."^M
(gdb) ^M
FAIL: gdb.mi/list-thread-groups-available.exp: list available thread groups (unexpected output)

This patch skips it if XML parsing in GDB is disabled, like what you did
in gdb.mi/mi-info-os.exp.

gdb/testsuite:

2017-11-03  Yao Qi  <yao.qi@linaro.org>

	* gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
	in GDB is disabled.
2017-11-03 12:53:53 +00:00
..
ChangeLog-1999-2003
array.f update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
basics.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
dw2-ref-missing-frame-func.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
dw2-ref-missing-frame-main.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
dw2-ref-missing-frame.S update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
dw2-ref-missing-frame.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb669.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb680.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb701.c
gdb701.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb792.cc
gdb792.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb2549.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
list-thread-groups-available.c Fix -list-thread-groups --available logic and add test 2017-10-04 12:44:01 -04:00
list-thread-groups-available.exp Skip gdb.mi/list-thread-groups-available.exp if no xml support 2017-11-03 12:53:53 +00:00
mi-async-run.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-async-run.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-async.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-basics.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-break.exp Use console uiout when executing breakpoint commands 2017-10-31 21:34:24 -04:00
mi-breakpoint-changed.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-catch-load-so.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-catch-load.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-catch-load.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-cli.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-cmd-error.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-cmd-param-changed.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-condbreak-call-thr-state-mt.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-condbreak-call-thr-state-st.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-condbreak-call-thr-state.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-condbreak-call-thr-state.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-console.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
mi-console.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-detach.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-disassemble.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-dprintf-pending.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-dprintf-pending.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-dprintf-pendshr.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-dprintf.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-dprintf.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-editing.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-eval.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-exec-run.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-exit-code.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-exit-code.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-file-transfer.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-file.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-fill-memory.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-fullname-deleted.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-hack-cli.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-i-cmd.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-info-os.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-inheritance-syntax-error.cc
mi-inheritance-syntax-error.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-language.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-linespec-err-cp.cc update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-linespec-err-cp.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-logging.exp Fix "-gdb-set logging redirect on" crash 2017-02-02 11:39:56 +00:00
mi-memory-changed.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-nonstop-exit.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-nonstop.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-ns-stale-regcache.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-nsintrall.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-nsmoribund.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-nsthrexec.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-pending.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-pending.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-pendshr.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-pendshr2.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-pthreads.exp Eliminate catch_exceptions/catch_exceptions_with_msg 2017-10-10 17:01:25 +01:00
mi-read-memory.c
mi-read-memory.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-record-changed.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-reg-undefined.S update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-reg-undefined.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-reg-undefined.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-regs.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-return.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-reverse.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-simplerun.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-solib.exp Add -file-list-shared-libraries MI command 2017-03-20 14:57:51 -04:00
mi-stack.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-stack.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-start.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-start.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-stepi.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-stepn.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-stepn.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-syn-frame.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
mi-syn-frame.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-threads-interrupt.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-threads-interrupt.exp Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts. 2017-10-06 15:24:01 -07:00
mi-undefined-cmd.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-until.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-block.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-child-f.exp Fortran: Testsuite, fix differences in type naming. 2017-09-08 15:11:47 +02:00
mi-var-child.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-child.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-cmd.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-cp.cc update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-cp.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-create-rtti.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-create-rtti.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-display.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-invalidate.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-list-children-invalid-grandchild.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-list-children-invalid-grandchild.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-rtti.cc update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-var-rtti.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-vla-c99.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-vla-fortran.exp Fortran: Testsuite, fix differences in type naming. 2017-09-08 15:11:47 +02:00
mi-watch-nonstop.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi-watch.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi2-amd64-entry-value.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi2-amd64-entry-value.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi2-amd64-entry-value.s update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi2-prompt.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mi2-var-child.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
new-ui-mi-sync.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
new-ui-mi-sync.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
non-stop-exit.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
non-stop.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
ns-stale-regcache.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
nsintrall.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
nsmoribund.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
nsthrexec.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
pending.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
pendshr1.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
pendshr2.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
pr11022.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
pr11022.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
pthreads.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
solib-lib.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
solib-main.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
testcmds
until.c Eliminate literal line numbers in mi-until.exp 2014-11-17 10:26:30 +01:00
user-selected-context-sync.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
user-selected-context-sync.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
var-cmd.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
vla.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
vla.f90 update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
watch-nonstop.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00