diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2017-01-31 17:13:46 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2017-02-01 14:43:19 +0100 |
commit | 787f00256b3eabe34b8599fca4df0243df80d5ca (patch) | |
tree | c39f3e0b7773bdad95814f1559804164751de0cc /gdb/dwarf2loc.c | |
parent | 68777c298919d6dbdb9537c92a64ed9440ef6f3c (diff) | |
download | gdb-787f00256b3eabe34b8599fca4df0243df80d5ca.zip gdb-787f00256b3eabe34b8599fca4df0243df80d5ca.tar.gz gdb-787f00256b3eabe34b8599fca4df0243df80d5ca.tar.bz2 |
testsuite: diagnose a running GDB in gdb_skip_xml_tests
If GDB is running when gdb_skip_xml_tests is called with
--target_board=native-extended-gdbserer.exp, it fails with:
(gdb) FAIL: ....exp: set tdesc filename .../trivial.xml (got interactive prompt)
monitor exit
Diagnose this in gdb_skip_xml_tests to generate a more meaningful error message:
ERROR: tcl error sourcing ....exp.
ERROR: GDB must not be running in gdb_skip_xml_tests.
while executing
[...]
testsuite/
* lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
Diffstat (limited to 'gdb/dwarf2loc.c')
0 files changed, 0 insertions, 0 deletions