This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] testsuite: diagnose a running GDB in gdb_skip_xml_tests
- From: Pedro Alves <palves at redhat dot com>
- To: Markus Metzger <markus dot t dot metzger at intel dot com>, gdb-patches at sourceware dot org
- Date: Wed, 1 Feb 2017 10:41:15 +0000
- Subject: Re: [PATCH] testsuite: diagnose a running GDB in gdb_skip_xml_tests
- Authentication-results: sourceware.org; auth=none
- References: <1485940235-28957-1-git-send-email-markus.t.metzger@intel.com>
On 02/01/2017 09:10 AM, Markus Metzger wrote:
> 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
> [...]
>
> 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
>
> testsuite/
> * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
OK, thanks.
Thanks,
Pedro Alves