This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] testsuite: diagnose a running GDB in gdb_skip_xml_tests


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]