[PATCH][gdb/testsuite] Reset errcnt in clean_restart

Tom Tromey tom@tromey.com
Fri Apr 24 14:11:34 GMT 2020


>>>>> "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


More information about the Gdb-patches mailing list