Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Tom de Vries <tdevries@suse.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH][gdb/testsuite] Reset errcnt in clean_restart
Date: Fri, 24 Apr 2020 08:11:34 -0600	[thread overview]
Message-ID: <87k125c6sp.fsf@tromey.com> (raw)
In-Reply-To: <20200424103857.GA6028@delia> (Tom de Vries's message of "Fri, 24 Apr 2020 12:38:58 +0200")

>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom> Fix this by resetting errcnt (as well as warncnt) in clean_restart, such that
Tom> we have:
Tom> ...
Tom> Running src/gdb/testsuite/gdb.base/readnever.exp ...
Tom> ERROR: (eof) GDB never initialized.
Tom> Running src/gdb/testsuite/gdb.base/realname-expand.exp ...
Tom> PASS: gdb.base/realname-expand.exp: set basenames-may-differ on
Tom> ...

Tom> gdb/testsuite/ChangeLog:

Tom> 2020-04-24  Tom de Vries  <tdevries@suse.de>

Tom> 	* lib/gdb.exp (clean_restart): Reset errcnt and warncnt.

I was worried because these come from dejagnu, but looking there it
seems that they are only used for this "unresolved" stuff.

So, I think this is ok.

Tom


      reply	other threads:[~2020-04-24 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24 10:38 Tom de Vries
2020-04-24 14:11 ` Tom Tromey [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=87k125c6sp.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tdevries@suse.de \
    /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