Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Markus Metzger <markus.t.metzger@intel.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] testsuite: diagnose a running GDB in gdb_skip_xml_tests
Date: Wed, 01 Feb 2017 10:41:00 -0000	[thread overview]
Message-ID: <ddd24bf9-4e48-e600-faeb-5764cb579ae5@redhat.com> (raw)
In-Reply-To: <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


      reply	other threads:[~2017-02-01 10:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-01  9:10 Markus Metzger
2017-02-01 10:41 ` Pedro Alves [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ddd24bf9-4e48-e600-faeb-5764cb579ae5@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=markus.t.metzger@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox